Skip to content

Commit 6dbfbe9

Browse files
committed
ci: upgrade to nodejs 22
1 parent ffc417f commit 6dbfbe9

File tree

4 files changed

+15
-45
lines changed

4 files changed

+15
-45
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
strategy:
2929
fail-fast: false
3030
matrix:
31-
language: [javascript]
31+
language: [javascript-typescript]
3232
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
3333
# Learn more:
3434
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed

.github/workflows/health-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020
run_install: false
2121

2222
# https://github.com/microsoft/TypeScript/wiki/Node-Target-Mapping
23-
- name: Use Node.js 20.x
23+
- name: Use Node.js 22.x
2424
uses: actions/setup-node@v4
2525
with:
26-
node-version: 20.x
26+
node-version: 22.x
2727
cache: pnpm
2828

2929
- name: Install dependencies

.github/workflows/pull-request.yml

Lines changed: 6 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020
version: 9
2121
run_install: false
2222

23-
- name: Use Node.js 20.x
23+
- name: Use Node.js 22.x
2424
uses: actions/setup-node@v4
2525
with:
26-
node-version: 20.x
26+
node-version: 22.x
2727
cache: pnpm
2828

2929
- name: Install dependencies
@@ -46,30 +46,15 @@ jobs:
4646
version: 9
4747
run_install: false
4848

49-
- name: Use Node.js 20.x
49+
- name: Use Node.js 22.x
5050
uses: actions/setup-node@v4
5151
with:
52-
node-version: 20.x
52+
node-version: 22.x
5353
cache: pnpm
5454

5555
- name: Install dependencies
5656
run: pnpm install --no-frozen-lockfile
5757

58-
- name: Get cypress version
59-
id: cypress-version
60-
run: echo "version=$(pnpm info cypress version)" >> $GITHUB_OUTPUT
61-
62-
- name: Cache cypress binary
63-
id: cache-cypress-binary
64-
uses: actions/cache@v4
65-
with:
66-
path: ~/.cache/Cypress
67-
key: cypress-binary-${{ runner.os }}-${{ steps.cypress-version.outputs.version }}
68-
69-
- name: Install cypress binary
70-
if: steps.cache-cypress-binary.outputs.cache-hit != 'true'
71-
run: pnpm cypress install
72-
7358
- name: Unit test
7459
run: pnpm test:unit
7560

@@ -89,10 +74,10 @@ jobs:
8974
version: 9
9075
run_install: false
9176

92-
- name: Use Node.js 20.x
77+
- name: Use Node.js 22.x
9378
uses: actions/setup-node@v4
9479
with:
95-
node-version: 20.x
80+
node-version: 22.x
9681
cache: pnpm
9782

9883
- name: Install dependencies

.github/workflows/test.yml

Lines changed: 6 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020
version: 9
2121
run_install: false
2222

23-
- name: Use Node.js 20.x
23+
- name: Use Node.js 22.x
2424
uses: actions/setup-node@v4
2525
with:
26-
node-version: 20.x
26+
node-version: 22.x
2727
cache: pnpm
2828

2929
- name: Install dependencies
@@ -46,30 +46,15 @@ jobs:
4646
version: 9
4747
run_install: false
4848

49-
- name: Use Node.js 20.x
49+
- name: Use Node.js 22.x
5050
uses: actions/setup-node@v4
5151
with:
52-
node-version: 20.x
52+
node-version: 22.x
5353
cache: pnpm
5454

5555
- name: Install dependencies
5656
run: pnpm install
5757

58-
- name: Get cypress version
59-
id: cypress-version
60-
run: echo "version=$(pnpm info cypress version)" >> $GITHUB_OUTPUT
61-
62-
- name: Cache cypress binary
63-
id: cache-cypress-binary
64-
uses: actions/cache@v4
65-
with:
66-
path: ~/.cache/Cypress
67-
key: cypress-binary-${{ runner.os }}-${{ steps.cypress-version.outputs.version }}
68-
69-
- name: Install cypress binary
70-
if: steps.cache-cypress-binary.outputs.cache-hit != 'true'
71-
run: pnpm cypress install
72-
7358
- name: Unit test
7459
run: pnpm test:unit
7560

@@ -89,10 +74,10 @@ jobs:
8974
version: 9
9075
run_install: false
9176

92-
- name: Use Node.js 20.x
77+
- name: Use Node.js 22.x
9378
uses: actions/setup-node@v4
9479
with:
95-
node-version: 20.x
80+
node-version: 22.x
9681
cache: pnpm
9782

9883
- name: Install dependencies

0 commit comments

Comments
 (0)