Unverified Commit 961a5498 authored by vercel-fleet-prod[bot]'s avatar vercel-fleet-prod[bot] Committed by GitHub

Run Turbopack NFT compatibility tests in CI

Co-authored-by: 's avatarNiklas Mischkulnig <4586894+mischnic@users.noreply.github.com>
parent c85be347
...@@ -313,6 +313,26 @@ jobs: ...@@ -313,6 +313,26 @@ jobs:
runs_on_labels: '["ubuntu-latest-16-core-oss"]' runs_on_labels: '["ubuntu-latest-16-core-oss"]'
secrets: inherit secrets: inherit
test-turbopack-nft:
name: test Turbopack NFT compatibility
needs: ['changes']
if: ${{ needs.changes.outputs.docs-only == 'false' }}
permissions:
contents: read
id-token: write
uses: ./.github/workflows/build_reusable.yml
with:
needsRust: 'yes'
skipBuild: 'yes'
skipNativeBuild: 'yes'
needsPlaywright: 'no'
nodeVersion: '24'
runs_on_labels: '["ubuntu-latest-16-core-oss"]'
afterBuild: pnpm --filter @turbopack/nft test:unit
stepName: 'test-turbopack-nft'
secrets: inherit
test-bench: test-bench:
name: test cargo benches name: test cargo benches
needs: ['optimize-ci', 'changes', 'build-next'] needs: ['optimize-ci', 'changes', 'build-next']
......
...@@ -11,6 +11,10 @@ on: ...@@ -11,6 +11,10 @@ on:
required: false required: false
description: 'whether to skip pnpm install && pnpm build' description: 'whether to skip pnpm install && pnpm build'
type: string type: string
skipBuild:
required: false
description: 'whether to skip pnpm build while still running pnpm install'
type: string
skipNativeBuild: skipNativeBuild:
required: false required: false
description: 'whether to skip building native modules' description: 'whether to skip building native modules'
...@@ -410,7 +414,7 @@ jobs: ...@@ -410,7 +414,7 @@ jobs:
run: pnpm dlx turbo@${TURBO_VERSION} run get-test-timings -- --build ${{ github.sha }} run: pnpm dlx turbo@${TURBO_VERSION} run get-test-timings -- --build ${{ github.sha }}
- run: ANALYZE=1 pnpm build - run: ANALYZE=1 pnpm build
if: ${{ inputs.skipInstallBuild != 'yes' }} if: ${{ inputs.skipInstallBuild != 'yes' && inputs.skipBuild != 'yes' }}
- name: Normalize input step names into path key - name: Normalize input step names into path key
uses: actions/github-script@d746ffe35508b1917358783b479e04febd2b8f71 # v9.0.0 uses: actions/github-script@d746ffe35508b1917358783b479e04febd2b8f71 # v9.0.0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment