Skip to content

Commit 59ff3dd

Browse files
committed
CI: use KV for test timing data
1 parent 7396d7e commit 59ff3dd

File tree

6 files changed

+139
-158
lines changed

6 files changed

+139
-158
lines changed

.github/workflows/build_reusable.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,9 @@ env:
100100
DATADOG_API_KEY: ${{ secrets.DATA_DOG_API_KEY }}
101101
NEXT_JUNIT_TEST_REPORT: 'true'
102102
DD_ENV: 'ci'
103-
TEST_TIMINGS_TOKEN: ${{ secrets.TEST_TIMINGS_TOKEN }}
103+
# Vercel KV Store for test timings
104+
KV_REST_API_URL: ${{ secrets.KV_REST_API_URL }}
105+
KV_REST_API_TOKEN: ${{ secrets.KV_REST_API_TOKEN }}
104106
NEXT_TEST_JOB: 1
105107
VERCEL_TEST_TOKEN: ${{ secrets.VERCEL_TEST_TOKEN }}
106108
VERCEL_TEST_TEAM: vtest314-next-e2e-tests

.github/workflows/pull_request_stats.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ env:
1616
# we build a dev binary for use in CI so skip downloading
1717
# canary next-swc binaries in the monorepo
1818
NEXT_SKIP_NATIVE_POSTINSTALL: 1
19-
TEST_TIMINGS_TOKEN: ${{ secrets.TEST_TIMINGS_TOKEN }}
19+
# Vercel KV Store for test timings
20+
KV_REST_API_URL: ${{ secrets.KV_REST_API_URL }}
21+
KV_REST_API_TOKEN: ${{ secrets.KV_REST_API_TOKEN }}
2022
NEXT_TEST_JOB: 1
2123
NEXT_DISABLE_SWC_WASM: 1
2224

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@
152152
"@typescript-eslint/eslint-plugin": "^8.36.0",
153153
"@typescript-eslint/parser": "^8.36.0",
154154
"@vercel/devlow-bench": "workspace:*",
155-
"@vercel/fetch": "6.1.1",
155+
"@vercel/kv": "3.0.0",
156156
"@vercel/og": "0.7.2",
157157
"abort-controller": "3.0.0",
158158
"alex": "9.1.0",

pnpm-lock.yaml

Lines changed: 20 additions & 75 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)