Skip to content

Commit c6d02c0

Browse files
committed
ci: use node-version: lts/* to fix nodejs/node#62425
1 parent 7f8538f commit c6d02c0

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/qa.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
run_install: false
2020
- uses: actions/setup-node@v6
2121
with:
22-
node-version: 22
22+
node-version: lts/*
2323
cache: pnpm
2424
- run: pnpm install --frozen-lockfile
2525
- run: pnpm run lint
@@ -34,7 +34,7 @@ jobs:
3434
run_install: false
3535
- uses: actions/setup-node@v6
3636
with:
37-
node-version: 22
37+
node-version: lts/*
3838
cache: pnpm
3939
- run: pnpm install --frozen-lockfile
4040
- run: pnpm run typecheck
@@ -49,7 +49,7 @@ jobs:
4949
run_install: false
5050
- uses: actions/setup-node@v6
5151
with:
52-
node-version: 22
52+
node-version: lts/*
5353
cache: pnpm
5454
- run: pnpm install --frozen-lockfile
5555
- run: pnpm run test --coverage
@@ -86,7 +86,7 @@ jobs:
8686
run_install: false
8787
- uses: actions/setup-node@v6
8888
with:
89-
node-version: 22
89+
node-version: lts/*
9090
cache: pnpm
9191
- run: pnpm install --frozen-lockfile
9292
- run: pnpm run knip

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
run_install: false
2222
- uses: actions/setup-node@v6
2323
with:
24-
node-version: 22
24+
node-version: lts/*
2525
cache: pnpm
2626
registry-url: 'https://registry.npmjs.org'
2727
- run: npm install -g npm@latest

0 commit comments

Comments
 (0)