Skip to content

Commit b313b99

Browse files
committed
chore(CI): Remove unused environment variables from build_and_test.yml
1 parent 1e964c1 commit b313b99

File tree

1 file changed

+4
-17
lines changed

1 file changed

+4
-17
lines changed

.github/workflows/build_and_test.yml

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,26 +6,13 @@ on:
66
pull_request:
77
types: [opened, synchronize]
88

9+
# NOTE: anything in `afterBuild` inherits environment variables defined in
10+
# `build_reusable.yml` (not these!) because that job executes within the context
11+
# of that workflow. Environment variables are not automatically passed to
12+
# reusable workflows.
913
env:
10-
NAPI_CLI_VERSION: 2.14.7
11-
TURBO_VERSION: 2.3.3
1214
NODE_MAINTENANCE_VERSION: 18
1315
NODE_LTS_VERSION: 20
14-
# disable backtrace for test snapshots
15-
RUST_BACKTRACE: 0
16-
17-
TURBO_TEAM: 'vercel'
18-
TURBO_CACHE: 'remote:rw'
19-
NEXT_TELEMETRY_DISABLED: 1
20-
# we build a dev binary for use in CI so skip downloading
21-
# canary next-swc binaries in the monorepo
22-
NEXT_SKIP_NATIVE_POSTINSTALL: 1
23-
DATADOG_API_KEY: ${{ secrets.DATA_DOG_API_KEY }}
24-
NEXT_JUNIT_TEST_REPORT: 'true'
25-
DD_ENV: 'ci'
26-
TEST_TIMINGS_TOKEN: ${{ secrets.TEST_TIMINGS_TOKEN }}
27-
NEXT_TEST_JOB: 1
28-
NEXT_TEST_PREFER_OFFLINE: 1
2916

3017
jobs:
3118
optimize-ci:

0 commit comments

Comments
 (0)