Repository navigation
chore(deps): update nuxt framework to ^4.6.4 #5847
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths-ignore: | |
| - '**/*.md' | |
| - 'docs/**' | |
| pull_request: | |
| paths-ignore: | |
| - '**/*.md' | |
| - 'docs/**' | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.number || github.sha }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-24.04-arm | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| with: | |
| persist-credentials: false | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v6 | |
| - name: Setup Node | |
| uses: actions/setup-node@v7 | |
| with: | |
| node-version: lts/* | |
| cache: pnpm | |
| - name: Install dependencies | |
| run: pnpm i | |
| - name: Check generated registry types | |
| run: | | |
| pnpm generate:types | |
| if ! git diff --exit-code -- packages/script/src/registry-types.json; then | |
| echo "::error file=packages/script/src/registry-types.json::The generated registry types are out of date. Run \`pnpm generate:types\` and commit the result." | |
| exit 1 | |
| fi | |
| - name: Lint | |
| run: pnpm lint | |
| typecheck: | |
| runs-on: ubuntu-24.04-arm | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| with: | |
| persist-credentials: false | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v6 | |
| - name: Setup Node | |
| uses: actions/setup-node@v7 | |
| with: | |
| node-version: lts/* | |
| cache: pnpm | |
| - name: Install dependencies | |
| run: pnpm i | |
| - name: Dev prepare | |
| run: pnpm dev:prepare | |
| - name: Typecheck | |
| run: pnpm typecheck | |
| - name: Test attw | |
| run: pnpm run --if-present test:attw | |
| build: | |
| runs-on: ubuntu-24.04-arm | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| with: | |
| persist-credentials: false | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v6 | |
| - name: Setup Node | |
| uses: actions/setup-node@v7 | |
| with: | |
| node-version: lts/* | |
| cache: pnpm | |
| - name: Install dependencies | |
| run: pnpm i | |
| - name: Dev prepare | |
| run: pnpm dev:prepare | |
| - name: Build | |
| run: pnpm build | |
| test: | |
| runs-on: ubuntu-24.04-arm | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| with: | |
| persist-credentials: false | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v6 | |
| - name: Setup Node | |
| uses: actions/setup-node@v7 | |
| with: | |
| node-version: lts/* | |
| cache: pnpm | |
| - name: Install dependencies | |
| run: pnpm i | |
| - name: Dev prepare | |
| run: pnpm dev:prepare | |
| - name: Cache Playwright browsers | |
| id: playwright-cache | |
| uses: actions/cache@v6 | |
| with: | |
| path: ~/.cache/ms-playwright | |
| key: playwright-ubuntu-24.04-arm-${{ hashFiles('**/pnpm-lock.yaml') }} | |
| - name: Install Playwright browsers | |
| if: steps.playwright-cache.outputs.cache-hit != 'true' | |
| run: pnpm exec playwright-core install chromium | |
| continue-on-error: true | |
| - name: Prepare fixtures | |
| run: pnpm run --if-present prepare:fixtures | |
| - name: Run tests | |
| run: | | |
| pnpm vitest run --project typecheck --project unit --project nuxt-runtime | |
| for test_file in test/e2e/*.test.ts; do | |
| pnpm vitest run --project e2e "$test_file" | |
| done | |
| nitro-3: | |
| runs-on: ubuntu-24.04-arm | |
| name: Nitro 3 compatibility | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| with: | |
| persist-credentials: false | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v6 | |
| - name: Setup Node | |
| uses: actions/setup-node@v7 | |
| with: | |
| node-version: lts/* | |
| cache: pnpm | |
| - name: Install dependencies | |
| run: pnpm i | |
| - name: Install Nuxt 5 | |
| run: | | |
| pnpm add --workspace-root --save-dev "nuxt@npm:nuxt-nightly@5.0.0-2610061032-c7ad8cd" "@nuxt/kit@npm:@nuxt/kit-nightly@5.0.0-2610061032-c7ad8cd" | |
| pnpm --filter @nuxt/scripts add --save-dev "@nuxt/kit@npm:@nuxt/kit-nightly@5.0.0-2610061032-c7ad8cd" "nuxt@npm:nuxt-nightly@5.0.0-2610061032-c7ad8cd" | |
| - name: Dev prepare | |
| run: pnpm --filter @nuxt/scripts dev:prepare | |
| - name: Nuxt prepare | |
| run: | | |
| pnpm exec nuxt prepare | |
| pnpm exec nuxt prepare test/fixtures/proxy-alias | |
| - name: Typecheck Nitro 3 compatibility | |
| run: pnpm exec vue-tsc --noEmit -p test/fixtures/proxy-alias/.nuxt/tsconfig.server.json | |
| - name: Run Nitro 3 compatibility tests | |
| run: pnpm vitest run --project e2e test/e2e/proxy-alias.test.ts |