Skip to content

Commit b592153

Browse files
committed
use node 22
1 parent a97bbb6 commit b592153

File tree

2 files changed

+4
-12
lines changed

2 files changed

+4
-12
lines changed

.github/workflows/ci.yml

+2-6
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,11 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v4
14+
- uses: pnpm/action-setup@v4
1415
- uses: actions/setup-node@v4
1516
with:
16-
node-version: 20
17-
- run: corepack enable
18-
- uses: actions/setup-node@v4
19-
with:
20-
node-version: 20
17+
node-version: 22
2118
cache: "pnpm"
22-
cache-dependency-path: "**/pnpm-lock.yaml"
2319
- run: pnpm install --frozen-lockfile --prefer-offline
2420
- uses: actions/cache@v4
2521
with:

.github/workflows/publish.yml

+2-6
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,12 @@ jobs:
1515
environment: Release
1616
steps:
1717
- uses: actions/checkout@v4
18+
- uses: pnpm/action-setup@v4
1819
- uses: actions/setup-node@v4
1920
with:
20-
node-version: 20
21-
- run: corepack enable
22-
- uses: actions/setup-node@v4
23-
with:
24-
node-version: 20
21+
node-version: 22
2522
registry-url: "https://registry.npmjs.org"
2623
cache: "pnpm"
27-
cache-dependency-path: "**/pnpm-lock.yaml"
2824
- run: pnpm install --frozen-lockfile --prefer-offline
2925
- run: pnpm build
3026
- run: pnpm tnode scripts/publish.ts ${{ github.ref_name }}

0 commit comments

Comments
 (0)