Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
81deb928
Unverified
Commit
81deb928
authored
Aug 20, 2026
by
Sebastian "Sebbie" Silbermann
Committed by
GitHub
Aug 20, 2026
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[16.3.x] Authenticate Turborepo remote caching with OIDC instead of a static PAT (#97603)
parent
cd714d9f
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
219 additions
and
44 deletions
+219
-44
action.yml
.github/actions/sccache/action.yml
+0
-4
start.sh
.github/actions/sccache/start.sh
+9
-14
build_and_deploy.yml
.github/workflows/build_and_deploy.yml
+31
-2
build_and_test.yml
.github/workflows/build_and_test.yml
+93
-0
build_reusable.yml
.github/workflows/build_reusable.yml
+8
-4
integration_tests_reusable.yml
.github/workflows/integration_tests_reusable.yml
+12
-0
pull_request_stats.yml
.github/workflows/pull_request_stats.yml
+15
-3
rspack-nextjs-build-integration-tests.yml
.github/workflows/rspack-nextjs-build-integration-tests.yml
+3
-0
rspack-nextjs-dev-integration-tests.yml
.github/workflows/rspack-nextjs-dev-integration-tests.yml
+3
-0
test-turbopack-rust-bench-test.yml
.github/workflows/test-turbopack-rust-bench-test.yml
+8
-4
test_e2e_deploy_release.yml
.github/workflows/test_e2e_deploy_release.yml
+9
-0
test_e2e_project_reset_cron.yml
.github/workflows/test_e2e_project_reset_cron.yml
+0
-5
turbopack-benchmark.yml
.github/workflows/turbopack-benchmark.yml
+22
-8
turbopack-nextjs-build-integration-tests.yml
...ub/workflows/turbopack-nextjs-build-integration-tests.yml
+3
-0
turbopack-nextjs-dev-integration-tests.yml
.github/workflows/turbopack-nextjs-dev-integration-tests.yml
+3
-0
No files found.
.github/actions/sccache/action.yml
View file @
81deb928
...
...
@@ -5,10 +5,6 @@ inputs:
description
:
'
SCCACHE_BASE_DIR
for
path
normalization
(default:
$GITHUB_WORKSPACE)'
required
:
false
default
:
'
'
turbo-token
:
description
:
'
Fallback
TURBO_TOKEN
if
not
set
in
environment
(e.g.
from
secrets.TURBO_TOKEN)'
required
:
false
default
:
'
'
runs
:
using
:
'
node20'
main
:
'
main.js'
...
...
.github/actions/sccache/start.sh
View file @
81deb928
#!/usr/bin/env bash
set
-euo
pipefail
# Normalize TURBO_API and TURBO_TOKEN: prefer environment values and
# fall back to Vercel's public API and the secret passed as an action input.
# Default TURBO_API to Vercel's public API when the workflow does not set it.
if
[
-z
"
${
TURBO_API
:-}
"
]
;
then
export
TURBO_API
=
"https://api.vercel.com"
echo
"TURBO_API=
${
TURBO_API
}
"
>>
"
$GITHUB_ENV
"
fi
if
[
-z
"
${
TURBO_TOKEN
:-}
"
]
;
then
if
[
-n
"
${
INPUT_TURBO_TOKEN
:-}
"
]
;
then
export
TURBO_TOKEN
=
"
${
INPUT_TURBO_TOKEN
}
"
echo
"TURBO_TOKEN=
${
TURBO_TOKEN
}
"
>>
"
$GITHUB_ENV
"
else
echo
"WARNING: no TURBO_TOKEN available"
fi
fi
# Exported by `vercel/setup-turborepo-remote-cache-action`, and unset entirely
# when that step was skipped. Bind them so the substring expansions below don't
# trip `set -u`, which rejects an unset name even in `${var:0:3}`.
TURBO_TOKEN
=
"
${
TURBO_TOKEN
:-}
"
TURBO_TEAM
=
"
${
TURBO_TEAM
:-}
"
if
[
-z
"
${
TURBO_TEAM
:-}
"
]
;
then
export
TURBO_TEAM
=
"vtest314-next-adapter-e2e-tests"
echo
"TURBO_TEAM=
${
TURBO_TEAM
}
"
>>
"
$GITHUB_ENV
"
if
[
-z
"
$TURBO_TOKEN
"
]
;
then
echo
"WARNING: no TURBO_TOKEN available"
fi
echo
"::add-mask::
${
TURBO_TOKEN
:-
}
"
echo
"::add-mask::
${
TURBO_TOKEN
}
"
echo
"Cache endpoint:
${
TURBO_API
:0:9
}
..."
echo
"TURBO_TOKEN:
${
TURBO_TOKEN
:0:3
}
..."
echo
"TURBO_TEAM:
${
TURBO_TEAM
}
"
...
...
.github/workflows/build_and_deploy.yml
View file @
81deb928
...
...
@@ -30,11 +30,10 @@ env:
# --env-mode loose is a breaking change required with turbo 2.x since Strict mode is now the default
# TODO: we should add the relevant envs later to to switch to strict mode
TURBO_ARGS
:
'
-v
--env-mode
loose
--remote-cache-timeout
90
--summarize
--log-order
stream'
TURBO_TEAM
:
'
vtest314-next-adapter-e2e-tests'
TURBO_TEAM
:
${{ vars.TURBO_TEAM }}
# Prefer shared remote cache across runs, but keep local cache enabled so jobs
# degrade gracefully if the remote cache or token is unavailable.
TURBO_CACHE
:
'
local:rw,remote:rw'
TURBO_TOKEN
:
${{ secrets.TURBO_TOKEN }}
# Without this environment variable, rust-lld will fail because some dependencies defaults to newer version of macOS by default.
#
# See https://doc.rust-lang.org/rustc/platform-support/apple-darwin.html#os-version for more details
...
...
@@ -136,12 +135,22 @@ jobs:
runs-on
:
ubuntu-latest
env
:
NEXT_TELEMETRY_DISABLED
:
1
permissions
:
contents
:
read
id-token
:
write
steps
:
-
uses
:
actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
# v6.0.2
with
:
fetch-depth
:
25
persist-credentials
:
false
-
name
:
Set up Turborepo remote cache
if
:
${{ vars.TURBO_TEAM != '' }}
continue-on-error
:
true
uses
:
vercel/setup-turborepo-remote-cache-action@135046f5efcadb17337d9b29b8d5b4035ae64b10
# v1.0.0
with
:
team
:
${{ vars.TURBO_TEAM }}
-
name
:
Setup node
uses
:
actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e
# v6.4.0
with
:
...
...
@@ -247,6 +256,9 @@ jobs:
env
:
# Disable all build caches for production/staging/force-preview deploys
NEXT_SKIP_BUILD_CACHE
:
${{ contains(fromJSON('["production","staging","force-preview"]'), needs.deploy-target.outputs.value) && '1' || '' }}
permissions
:
contents
:
read
id-token
:
write
steps
:
# Enable long paths on Windows to avoid MAX_PATH (260 char) errors
# with deeply nested node_modules/.pnpm paths
...
...
@@ -263,6 +275,13 @@ jobs:
fetch-depth
:
100
persist-credentials
:
false
-
name
:
Set up Turborepo remote cache
if
:
${{ vars.TURBO_TEAM != '' }}
continue-on-error
:
true
uses
:
vercel/setup-turborepo-remote-cache-action@135046f5efcadb17337d9b29b8d5b4035ae64b10
# v1.0.0
with
:
team
:
${{ vars.TURBO_TEAM }}
-
name
:
Setup node
uses
:
actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e
# v6.4.0
if
:
${{ !matrix.docker }}
...
...
@@ -480,11 +499,21 @@ jobs:
runs-on
:
ubuntu-latest-16-core-oss
permissions
:
contents
:
read
id-token
:
write
steps
:
-
uses
:
actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
# v6.0.2
with
:
persist-credentials
:
false
-
name
:
Set up Turborepo remote cache
if
:
${{ vars.TURBO_TEAM != '' }}
continue-on-error
:
true
uses
:
vercel/setup-turborepo-remote-cache-action@135046f5efcadb17337d9b29b8d5b4035ae64b10
# v1.0.0
with
:
team
:
${{ vars.TURBO_TEAM }}
-
name
:
Setup node
uses
:
actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e
# v6.4.0
with
:
...
...
.github/workflows/build_and_test.yml
View file @
81deb928
...
...
@@ -110,6 +110,9 @@ jobs:
build-native
:
name
:
build-native
permissions
:
contents
:
read
id-token
:
write
uses
:
./.github/workflows/build_reusable.yml
needs
:
[
'
changes'
]
if
:
${{ needs.changes.outputs.docs-only == 'false' }}
...
...
@@ -121,6 +124,9 @@ jobs:
build-native-windows
:
name
:
build-native-windows
permissions
:
contents
:
read
id-token
:
write
uses
:
./.github/workflows/build_reusable.yml
needs
:
[
'
changes'
]
if
:
${{ needs.changes.outputs.docs-only == 'false' }}
...
...
@@ -134,6 +140,9 @@ jobs:
build-next
:
name
:
build-next
permissions
:
contents
:
read
id-token
:
write
uses
:
./.github/workflows/build_reusable.yml
with
:
needsPlaywright
:
'
no'
...
...
@@ -209,6 +218,9 @@ jobs:
lint
:
name
:
lint
needs
:
[
'
build-next'
]
permissions
:
contents
:
read
id-token
:
write
uses
:
./.github/workflows/build_reusable.yml
with
:
needsPlaywright
:
'
no'
...
...
@@ -249,6 +261,9 @@ jobs:
name
:
types and precompiled
needs
:
[
'
changes'
,
'
build-native'
,
'
build-next'
]
permissions
:
contents
:
read
id-token
:
write
uses
:
./.github/workflows/build_reusable.yml
with
:
needsPlaywright
:
'
no'
...
...
@@ -261,6 +276,9 @@ jobs:
needs
:
[
'
changes'
,
'
build-next'
]
if
:
${{ needs.changes.outputs.docs-only == 'false' }}
permissions
:
contents
:
read
id-token
:
write
uses
:
./.github/workflows/build_reusable.yml
with
:
needsRust
:
'
yes'
...
...
@@ -283,6 +301,9 @@ jobs:
needs
:
[
'
optimize-ci'
,
'
changes'
,
'
build-next'
]
if
:
${{ needs.optimize-ci.outputs.skip == 'false' && needs.changes.outputs.docs-only == 'false' }}
permissions
:
contents
:
read
id-token
:
write
uses
:
./.github/workflows/test-turbopack-rust-bench-test.yml
secrets
:
inherit
...
...
@@ -291,6 +312,9 @@ jobs:
needs
:
[
'
changes'
,
'
build-next'
]
if
:
${{ needs.changes.outputs.docs-only == 'false' }}
permissions
:
contents
:
read
id-token
:
write
uses
:
./.github/workflows/build_reusable.yml
with
:
needsRust
:
'
yes'
...
...
@@ -305,6 +329,9 @@ jobs:
needs
:
[
'
changes'
,
'
build-next'
]
if
:
${{ needs.changes.outputs.docs-only == 'false' }}
permissions
:
contents
:
read
id-token
:
write
uses
:
./.github/workflows/build_reusable.yml
with
:
needsRust
:
'
yes'
...
...
@@ -343,6 +370,9 @@ jobs:
-
'
--scenario=heavy-npm-deps-dev
--page=homepage'
-
'
--scenario=heavy-npm-deps-build
--page=homepage'
-
'
--scenario=heavy-npm-deps-build-turbo-cache-enabled
--page=homepage'
permissions
:
contents
:
read
id-token
:
write
uses
:
./.github/workflows/build_reusable.yml
with
:
afterBuild
:
|
...
...
@@ -357,6 +387,9 @@ jobs:
name
:
test devlow package
needs
:
[
'
optimize-ci'
,
'
changes'
]
if
:
${{ needs.optimize-ci.outputs.skip == 'false' && needs.changes.outputs.docs-only == 'false' }}
permissions
:
contents
:
read
id-token
:
write
uses
:
./.github/workflows/build_reusable.yml
with
:
skipNativeBuild
:
'
yes'
...
...
@@ -386,6 +419,9 @@ jobs:
group
:
[
1/7
,
2/7
,
3/7
,
4/7
,
5/7
,
6/7
,
7/7
]
# Empty value uses default
react
:
[
'
'
,
'
18.3.1'
]
permissions
:
contents
:
read
id-token
:
write
uses
:
./.github/workflows/build_reusable.yml
with
:
afterBuild
:
|
...
...
@@ -428,6 +464,9 @@ jobs:
group
:
[
1/7
,
2/7
,
3/7
,
4/7
,
5/7
,
6/7
,
7/7
]
# Empty value uses default
react
:
[
'
'
,
'
18.3.1'
]
permissions
:
contents
:
read
id-token
:
write
uses
:
./.github/workflows/build_reusable.yml
with
:
nodeVersion
:
20.9.0
...
...
@@ -466,6 +505,9 @@ jobs:
group
:
[
1/5
,
2/5
,
3/5
,
4/5
,
5/5
]
# Empty value uses default
react
:
[
'
'
,
'
18.3.1'
]
permissions
:
contents
:
read
id-token
:
write
uses
:
./.github/workflows/build_reusable.yml
with
:
nodeVersion
:
20.19.x
...
...
@@ -513,6 +555,9 @@ jobs:
group
:
[
1/7
,
2/7
,
3/7
,
4/7
,
5/7
,
6/7
,
7/7
]
# Empty value uses default
react
:
[
'
'
,
'
18.3.1'
]
permissions
:
contents
:
read
id-token
:
write
uses
:
./.github/workflows/build_reusable.yml
with
:
nodeVersion
:
20.19.x
...
...
@@ -541,6 +586,9 @@ jobs:
needs
:
[
'
optimize-ci'
,
'
changes'
,
'
build-next'
]
if
:
${{ needs.optimize-ci.outputs.skip == 'false' && needs.changes.outputs.docs-only == 'false' }}
permissions
:
contents
:
read
id-token
:
write
uses
:
./.github/workflows/build_reusable.yml
with
:
skipNativeBuild
:
'
yes'
...
...
@@ -570,6 +618,9 @@ jobs:
if
:
false
# if: ${{ needs.changes.outputs.docs-only == 'false' }}
permissions
:
contents
:
read
id-token
:
write
uses
:
./.github/workflows/build_reusable.yml
with
:
skipNativeBuild
:
'
yes'
...
...
@@ -590,6 +641,9 @@ jobs:
matrix
:
node
:
[
20
,
22
]
# TODO: use env var like [env.NODE_MAINTENANCE_VERSION, env.NODE_LTS_VERSION]
permissions
:
contents
:
read
id-token
:
write
uses
:
./.github/workflows/build_reusable.yml
with
:
needsPlaywright
:
'
no'
...
...
@@ -613,6 +667,9 @@ jobs:
# https://github.com/microsoft/playwright/issues/40724
node
:
[
22
,
'
24.15.0'
]
permissions
:
contents
:
read
id-token
:
write
uses
:
./.github/workflows/build_reusable.yml
with
:
nodeVersion
:
${{ matrix.node }}
...
...
@@ -637,6 +694,9 @@ jobs:
# pin once we update to playwright 1.60.0 or newer.
node
:
[
22
,
'
24.15.0'
]
permissions
:
contents
:
read
id-token
:
write
uses
:
./.github/workflows/build_reusable.yml
with
:
nodeVersion
:
${{ matrix.node }}
...
...
@@ -658,6 +718,9 @@ jobs:
matrix
:
node
:
[
20
,
22
]
# TODO: use env var like [env.NODE_MAINTENANCE_VERSION, env.NODE_LTS_VERSION]
permissions
:
contents
:
read
id-token
:
write
uses
:
./.github/workflows/build_reusable.yml
with
:
needsPlaywright
:
'
no'
...
...
@@ -680,6 +743,9 @@ jobs:
matrix
:
group
:
[
1/5
,
2/5
,
3/5
,
4/5
,
5/5
]
permissions
:
contents
:
read
id-token
:
write
uses
:
./.github/workflows/build_reusable.yml
with
:
afterBuild
:
|
...
...
@@ -707,6 +773,9 @@ jobs:
matrix
:
group
:
[
1/5
,
2/5
,
3/5
,
4/5
,
5/5
]
permissions
:
contents
:
read
id-token
:
write
uses
:
./.github/workflows/build_reusable.yml
with
:
afterBuild
:
|
...
...
@@ -856,6 +925,9 @@ jobs:
group
:
[
1/10
,
2/10
,
3/10
,
4/10
,
5/10
,
6/10
,
7/10
,
8/10
,
9/10
,
10/10
]
# Empty value uses default
react
:
[
'
'
,
'
18.3.1'
]
permissions
:
contents
:
read
id-token
:
write
uses
:
./.github/workflows/build_reusable.yml
with
:
afterBuild
:
|
...
...
@@ -880,6 +952,9 @@ jobs:
needs
:
[
'
optimize-ci'
,
'
changes'
,
'
build-native-windows'
,
'
build-next'
]
if
:
${{ needs.optimize-ci.outputs.skip == 'false' && needs.changes.outputs.docs-only == 'false' }}
permissions
:
contents
:
read
id-token
:
write
uses
:
./.github/workflows/build_reusable.yml
with
:
afterBuild
:
|
...
...
@@ -903,6 +978,9 @@ jobs:
needs
:
[
'
optimize-ci'
,
'
changes'
,
'
build-native-windows'
,
'
build-next'
]
if
:
${{ needs.optimize-ci.outputs.skip == 'false' && needs.changes.outputs.docs-only == 'false' }}
permissions
:
contents
:
read
id-token
:
write
uses
:
./.github/workflows/build_reusable.yml
with
:
nodeVersion
:
20.9.0
...
...
@@ -929,6 +1007,9 @@ jobs:
needs
:
[
'
optimize-ci'
,
'
changes'
,
'
build-native-windows'
,
'
build-next'
]
if
:
${{ needs.optimize-ci.outputs.skip == 'false' && needs.changes.outputs.docs-only == 'false' }}
permissions
:
contents
:
read
id-token
:
write
uses
:
./.github/workflows/build_reusable.yml
with
:
afterBuild
:
|
...
...
@@ -969,6 +1050,9 @@ jobs:
group
:
[
1/10
,
2/10
,
3/10
,
4/10
,
5/10
,
6/10
,
7/10
,
8/10
,
9/10
,
10/10
]
# Empty value uses default
react
:
[
'
'
,
'
18.3.1'
]
permissions
:
contents
:
read
id-token
:
write
uses
:
./.github/workflows/build_reusable.yml
with
:
afterBuild
:
|
...
...
@@ -989,6 +1073,9 @@ jobs:
needs
:
[
'
optimize-ci'
,
'
changes'
,
'
build-native'
,
'
build-next'
]
if
:
${{ needs.optimize-ci.outputs.skip == 'false' && needs.changes.outputs.docs-only == 'false' }}
permissions
:
contents
:
read
id-token
:
write
uses
:
./.github/workflows/build_reusable.yml
with
:
browser
:
'
firefox
webkit'
...
...
@@ -1036,6 +1123,9 @@ jobs:
fail-fast
:
false
matrix
:
group
:
[
1/6
,
2/6
,
3/6
,
4/6
,
5/6
,
6/6
]
permissions
:
contents
:
read
id-token
:
write
uses
:
./.github/workflows/build_reusable.yml
with
:
afterBuild
:
|
...
...
@@ -1072,6 +1162,9 @@ jobs:
fail-fast
:
false
matrix
:
group
:
[
1/7
,
2/7
,
3/7
,
4/7
,
5/7
,
6/7
,
7/7
]
permissions
:
contents
:
read
id-token
:
write
uses
:
./.github/workflows/build_reusable.yml
with
:
afterBuild
:
|
...
...
.github/workflows/build_reusable.yml
View file @
81deb928
...
...
@@ -116,11 +116,10 @@ env:
# disable backtrace for test snapshots
RUST_BACKTRACE
:
0
TURBO_TEAM
:
'
vtest314-next-adapter-e2e-tests'
TURBO_TEAM
:
${{ vars.TURBO_TEAM }}
# Prefer shared remote cache across runs, but keep local cache enabled so jobs
# degrade gracefully if the remote cache or token is unavailable.
TURBO_CACHE
:
'
local:rw,remote:rw'
TURBO_TOKEN
:
${{ secrets.TURBO_TOKEN }}
NEXT_TELEMETRY_DISABLED
:
1
# `skipNativeInstall: 'no'` must force the download even though CI otherwise
...
...
@@ -180,6 +179,13 @@ jobs:
fetch-depth
:
25
persist-credentials
:
false
-
name
:
Set up Turborepo remote cache
if
:
${{ vars.TURBO_TEAM != '' }}
continue-on-error
:
true
uses
:
vercel/setup-turborepo-remote-cache-action@135046f5efcadb17337d9b29b8d5b4035ae64b10
# v1.0.0
with
:
team
:
${{ vars.TURBO_TEAM }}
# Depends on rust-toolchain.toml in the checkout
-
name
:
Install Rust
id
:
install-rust
...
...
@@ -283,8 +289,6 @@ jobs:
-
name
:
Start sccache
uses
:
./.github/actions/sccache
if
:
${{ runner.os != 'Windows' && (inputs.uploadNativeArtifact || inputs.needsNextest == 'yes' || inputs.needsRust == 'yes') }}
with
:
turbo-token
:
${{ secrets.TURBO_TOKEN }}
# Infer the Rust target triple from the runner's OS/arch. napi would build
# for the host target if `--target` were omitted, but Turborepo does not
...
...
.github/workflows/integration_tests_reusable.yml
View file @
81deb928
...
...
@@ -45,6 +45,9 @@ jobs:
# First, build Next.js to execute across tests.
build-next
:
name
:
build-next
permissions
:
contents
:
read
id-token
:
write
uses
:
./.github/workflows/build_reusable.yml
with
:
nodeVersion
:
${{ inputs.nodeVersion }}
...
...
@@ -54,6 +57,9 @@ jobs:
build-native
:
name
:
build-native
permissions
:
contents
:
read
id-token
:
write
uses
:
./.github/workflows/build_reusable.yml
with
:
nodeVersion
:
${{ inputs.nodeVersion }}
...
...
@@ -92,6 +98,9 @@ jobs:
fail-fast: false
matrix:
group: ${{ fromJSON(needs.generate-matrices.outputs.e2e) }}
permissions:
contents: read
id-token: write
uses: ./.github/workflows/build_reusable.yml
with:
nodeVersion: ${{ inputs.nodeVersion }}
...
...
@@ -124,6 +133,9 @@ jobs:
fail-fast: false
matrix:
group: ${{ fromJSON(needs.generate-matrices.outputs.integration) }}
permissions:
contents: read
id-token: write
uses: ./.github/workflows/build_reusable.yml
with:
nodeVersion: ${{ inputs.nodeVersion }}
...
...
.github/workflows/pull_request_stats.yml
View file @
81deb928
...
...
@@ -17,11 +17,10 @@ env:
TURBO_VERSION
:
2.9.4
TEST_CONCURRENCY
:
6
TURBO_TEAM
:
'
vtest314-next-adapter-e2e-tests'
TURBO_TEAM
:
${{ vars.TURBO_TEAM }}
# Prefer shared remote cache across runs, but keep local cache enabled so jobs
# degrade gracefully if the remote cache or token is unavailable.
TURBO_CACHE
:
'
local:rw,remote:rw'
TURBO_TOKEN
:
${{ secrets.TURBO_TOKEN }}
NEXT_TELEMETRY_DISABLED
:
1
# Vercel KV Store for test timings
KV_REST_API_URL
:
${{ secrets.KV_REST_API_URL }}
...
...
@@ -75,6 +74,9 @@ jobs:
retention-days
:
1
build
:
permissions
:
contents
:
read
id-token
:
write
uses
:
./.github/workflows/build_reusable.yml
secrets
:
inherit
with
:
...
...
@@ -94,6 +96,9 @@ jobs:
# Keep in sync with STATS_EXPECTED_BUNDLERS
bundler
:
[
webpack
,
turbopack
]
runs-on
:
ubuntu-latest-16-core-arm-oss
permissions
:
contents
:
read
id-token
:
write
steps
:
-
uses
:
actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
# v6.0.2
with
:
...
...
@@ -113,13 +118,20 @@ jobs:
-
run
:
cp -r packages/next-swc/native .github/actions/next-stats-action/native
if
:
${{ steps.docs-change.outputs.DOCS_CHANGE == 'nope' }}
-
name
:
Set up Turborepo remote cache
if
:
${{ vars.TURBO_TEAM != '' }}
continue-on-error
:
true
uses
:
vercel/setup-turborepo-remote-cache-action@135046f5efcadb17337d9b29b8d5b4035ae64b10
# v1.0.0
with
:
team
:
${{ vars.TURBO_TEAM }}
# `TURBO_TOKEN` reaches this Docker action through the job environment.
-
uses
:
./.github/actions/next-stats-action
if
:
${{ steps.docs-change.outputs.DOCS_CHANGE == 'nope' }}
with
:
bundler
:
${{ matrix.bundler }}
env
:
TURBO_TEAM
:
${{ env.TURBO_TEAM }}
TURBO_TOKEN
:
${{ secrets.TURBO_TOKEN }}
TURBO_CACHE
:
${{ env.TURBO_CACHE }}
PREVIEW_BUILDS_BASE_URL
:
${{ vars.PREVIEW_BUILDS_BASE_URL }}
...
...
.github/workflows/rspack-nextjs-build-integration-tests.yml
View file @
81deb928
...
...
@@ -9,6 +9,9 @@ on:
jobs
:
test-dev
:
name
:
Rspack integration tests
permissions
:
contents
:
read
id-token
:
write
uses
:
./.github/workflows/integration_tests_reusable.yml
with
:
name
:
rspack-production
...
...
.github/workflows/rspack-nextjs-dev-integration-tests.yml
View file @
81deb928
...
...
@@ -9,6 +9,9 @@ on:
jobs
:
test-dev
:
name
:
Rspack integration tests
permissions
:
contents
:
read
id-token
:
write
uses
:
./.github/workflows/integration_tests_reusable.yml
with
:
name
:
rspack-development
...
...
.github/workflows/test-turbopack-rust-bench-test.yml
View file @
81deb928
...
...
@@ -15,8 +15,7 @@ on:
env
:
TURBOPACK_BENCH_COUNTS
:
'
100'
TURBOPACK_BENCH_PROGRESS
:
'
1'
TURBO_TEAM
:
'
vtest314-next-adapter-e2e-tests'
TURBO_TOKEN
:
${{ secrets.TURBO_TOKEN }}
TURBO_TEAM
:
${{ vars.TURBO_TEAM }}
jobs
:
test
:
...
...
@@ -49,10 +48,15 @@ jobs:
-
run
:
pnpm install
working-directory
:
turbopack/benchmark-apps
-
name
:
Set up Turborepo remote cache
if
:
${{ vars.TURBO_TEAM != '' }}
continue-on-error
:
true
uses
:
vercel/setup-turborepo-remote-cache-action@135046f5efcadb17337d9b29b8d5b4035ae64b10
# v1.0.0
with
:
team
:
${{ vars.TURBO_TEAM }}
-
name
:
Start sccache
uses
:
./.github/actions/sccache
with
:
turbo-token
:
${{ secrets.TURBO_TOKEN }}
-
name
:
Build benchmarks for tests
timeout-minutes
:
120
...
...
.github/workflows/test_e2e_deploy_release.yml
View file @
81deb928
...
...
@@ -131,6 +131,9 @@ jobs:
name
:
Run Deploy Tests (Webpack)
needs
:
setup
if
:
${{ github.event.inputs.deployScriptPath == '' }}
permissions
:
contents
:
read
id-token
:
write
uses
:
./.github/workflows/build_reusable.yml
secrets
:
inherit
strategy
:
...
...
@@ -163,6 +166,9 @@ jobs:
test-deploy-turbopack
:
name
:
Run Deploy Tests (Turbopack)
needs
:
[
setup
]
permissions
:
contents
:
read
id-token
:
write
uses
:
./.github/workflows/build_reusable.yml
secrets
:
inherit
strategy
:
...
...
@@ -211,6 +217,9 @@ jobs:
name
:
Run Deploy Adapter Tests (Turbopack)
needs
:
setup
if
:
${{ github.event.inputs.deployScriptPath == '' }}
permissions
:
contents
:
read
id-token
:
write
uses
:
./.github/workflows/build_reusable.yml
secrets
:
inherit
strategy
:
...
...
.github/workflows/test_e2e_project_reset_cron.yml
View file @
81deb928
...
...
@@ -12,11 +12,6 @@ env:
VERCEL_TEST_TOKEN
:
${{ secrets.VERCEL_TEST_TOKEN }}
VERCEL_ADAPTER_TEST_TEAM
:
vtest314-next-adapter-e2e-tests
VERCEL_ADAPTER_TEST_TOKEN
:
${{ secrets.VERCEL_ADAPTER_TEST_TOKEN }}
TURBO_TEAM
:
'
vtest314-next-adapter-e2e-tests'
# Prefer shared remote cache across runs, but keep local cache enabled so jobs
# degrade gracefully if the remote cache or token is unavailable.
TURBO_CACHE
:
'
local:rw,remote:rw'
TURBO_TOKEN
:
${{ secrets.TURBO_TOKEN }}
run-name
:
test-e2e-project-reset (scheduled)
...
...
.github/workflows/turbopack-benchmark.yml
View file @
81deb928
...
...
@@ -20,11 +20,10 @@ concurrency:
env
:
CI
:
1
RUST_LOG
:
'
off'
TURBO_TEAM
:
'
vtest314-next-adapter-e2e-tests'
TURBO_TEAM
:
${{ vars.TURBO_TEAM }}
# Prefer shared remote cache across runs, but keep local cache enabled so jobs
# degrade gracefully if the remote cache or token is unavailable.
TURBO_CACHE
:
'
local:rw,remote:rw'
TURBO_TOKEN
:
${{ secrets.TURBO_TOKEN }}
permissions
:
contents
:
read
...
...
@@ -45,10 +44,15 @@ jobs:
-
name
:
Install cargo-codspeed
run
:
cargo binstall --locked --no-confirm cargo-codspeed@3.0.5
-
name
:
Set up Turborepo remote cache
if
:
${{ vars.TURBO_TEAM != '' }}
continue-on-error
:
true
uses
:
vercel/setup-turborepo-remote-cache-action@135046f5efcadb17337d9b29b8d5b4035ae64b10
# v1.0.0
with
:
team
:
${{ vars.TURBO_TEAM }}
-
name
:
Start sccache
uses
:
./.github/actions/sccache
with
:
turbo-token
:
${{ secrets.TURBO_TOKEN }}
-
name
:
Install pnpm dependencies
working-directory
:
turbopack/benchmark-apps
...
...
@@ -82,10 +86,15 @@ jobs:
-
name
:
Install cargo-codspeed
run
:
cargo binstall --locked --no-confirm cargo-codspeed@3.0.5
-
name
:
Set up Turborepo remote cache
if
:
${{ vars.TURBO_TEAM != '' }}
continue-on-error
:
true
uses
:
vercel/setup-turborepo-remote-cache-action@135046f5efcadb17337d9b29b8d5b4035ae64b10
# v1.0.0
with
:
team
:
${{ vars.TURBO_TEAM }}
-
name
:
Start sccache
uses
:
./.github/actions/sccache
with
:
turbo-token
:
${{ secrets.TURBO_TOKEN }}
-
name
:
Install pnpm dependencies
working-directory
:
turbopack/benchmark-apps
...
...
@@ -120,10 +129,15 @@ jobs:
-
name
:
Install cargo-codspeed
run
:
cargo binstall --locked --no-confirm cargo-codspeed@3.0.5
-
name
:
Set up Turborepo remote cache
if
:
${{ vars.TURBO_TEAM != '' }}
continue-on-error
:
true
uses
:
vercel/setup-turborepo-remote-cache-action@135046f5efcadb17337d9b29b8d5b4035ae64b10
# v1.0.0
with
:
team
:
${{ vars.TURBO_TEAM }}
-
name
:
Start sccache
uses
:
./.github/actions/sccache
with
:
turbo-token
:
${{ secrets.TURBO_TOKEN }}
-
name
:
Build the benchmark target(s)
env
:
...
...
.github/workflows/turbopack-nextjs-build-integration-tests.yml
View file @
81deb928
...
...
@@ -8,6 +8,9 @@ on:
jobs
:
test-dev
:
name
:
Next.js integration tests
permissions
:
contents
:
read
id-token
:
write
uses
:
./.github/workflows/integration_tests_reusable.yml
with
:
name
:
turbopack-production
...
...
.github/workflows/turbopack-nextjs-dev-integration-tests.yml
View file @
81deb928
...
...
@@ -8,6 +8,9 @@ on:
jobs
:
test-dev
:
name
:
Next.js integration tests
permissions
:
contents
:
read
id-token
:
write
uses
:
./.github/workflows/integration_tests_reusable.yml
with
:
name
:
turbopack-development
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment