Skip to content

Bump vite from 8.0.11 to 8.1.5 #101

Bump vite from 8.0.11 to 8.1.5

Bump vite from 8.0.11 to 8.1.5 #101

Workflow file for this run

name: CI
on:
push:
branches: [main]
paths:
- 'src/**'
- 'test/**'
- 'bin/**'
- 'package.json'
- 'package-lock.json'
- 'tsconfig.json'
- 'tsconfig.server.json'
- 'vite.config.ts'
- 'eslint.config.js'
- '.prettierrc.json'
- '.prettierignore'
- '.github/workflows/ci.yml'
- '.github/actions/setup/action.yml'
pull_request:
paths:
- 'src/**'
- 'test/**'
- 'bin/**'
- 'package.json'
- 'package-lock.json'
- 'tsconfig.json'
- 'tsconfig.server.json'
- 'vite.config.ts'
- 'eslint.config.js'
- '.prettierrc.json'
- '.prettierignore'
- '.github/workflows/ci.yml'
- '.github/actions/setup/action.yml'
permissions:
contents: read
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
name: Lint and format
runs-on: ubuntu-latest
timeout-minutes: 5
if: github.event_name != 'pull_request' || github.event.pull_request.draft == false
steps:
- uses: actions/checkout@v6
- uses: ./.github/actions/setup
with:
node-version: '22.13.x'
- run: npm run lint
- run: npm run format:check
typecheck:
name: Typecheck
runs-on: ubuntu-latest
timeout-minutes: 10
if: github.event_name != 'pull_request' || github.event.pull_request.draft == false
steps:
- uses: actions/checkout@v6
- uses: ./.github/actions/setup
with:
node-version: '22.13.x'
- run: npm run typecheck
build:
name: Build
runs-on: ubuntu-latest
timeout-minutes: 10
if: github.event_name != 'pull_request' || github.event.pull_request.draft == false
steps:
- uses: actions/checkout@v6
- uses: ./.github/actions/setup
with:
node-version: '22.13.x'
- run: npm run build
test:
name: Test
runs-on: ubuntu-latest
timeout-minutes: 15
if: github.event_name != 'pull_request' || github.event.pull_request.draft == false
steps:
- uses: actions/checkout@v6
- uses: ./.github/actions/setup
with:
node-version: '22.13.x'
- run: npm run test:preflight
- run: npm run test:judge
- run: npm run test:runner
- run: npm run test:sandbox
- run: npm run test:security
- run: npm run test:routes
- run: npm run test:slug
ci-success:
name: CI Success
runs-on: ubuntu-latest
needs: [lint, typecheck, build, test]
if: always()
steps:
- name: Verify all jobs succeeded
run: |
if [ "${{ needs.lint.result }}" != "success" ] || [ "${{ needs.typecheck.result }}" != "success" ] || [ "${{ needs.build.result }}" != "success" ] || [ "${{ needs.test.result }}" != "success" ]; then
echo "One or more required jobs failed."
exit 1
fi