CI: bump from node 18.x to 22.x [#606] (#614)

* CI: bump from node 18.x to 22.x [#606]

* update cloudflare wrangler version

* fix tests for node 22
This commit is contained in:
Brandon Liu
2025-12-01 17:02:39 +08:00
committed by GitHub
parent ec103efdff
commit 4dc2daad8a
4 changed files with 349 additions and 379 deletions

View File

@@ -17,7 +17,7 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/setup-node@v3
with:
node-version: 18.x
node-version: 22.x
- run: cd js && npm ci && npm run build
- run: echo "VITE_GIT_SHA=$(git rev-parse --short HEAD)" >> app/.env
- run: cd app && npm ci && npm run check && npm run build
@@ -45,7 +45,7 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/setup-node@v3
with:
node-version: 18.x
node-version: 22.x
- run: python .github/check_examples.py
- run: cd js && npm ci && npm test
- run: cd js && npm run biome-check