Unverified Commit a876d6ca authored by JJ Kasper's avatar JJ Kasper Committed by GitHub

Use prefer offline flag for CI (#74663)

Aims to speed up CI by avoiding checking npm registry un-necessarily for
every test run since we mostly hard code our test package versions when
the version matters.
parent 64abfd16
......@@ -26,6 +26,7 @@ env:
DD_ENV: 'ci'
TEST_TIMINGS_TOKEN: ${{ secrets.TEST_TIMINGS_TOKEN }}
NEXT_TEST_JOB: 1
NEXT_TEST_PREFER_OFFLINE: 1
jobs:
optimize-ci:
......
......@@ -85,6 +85,7 @@ env:
NEXT_TEST_JOB: 1
VERCEL_TEST_TOKEN: ${{ secrets.VERCEL_TEST_TOKEN }}
VERCEL_TEST_TEAM: vtest314-next-e2e-tests
NEXT_TEST_PREFER_OFFLINE: 1
jobs:
build:
......
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