Skip to content

Commit b0dbb0d

Browse files
committed
fix: use pnpm in CI and drop EOL Node 14.x/16.x
1 parent e641241 commit b0dbb0d

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

.github/workflows/CI.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,23 @@ jobs:
1212

1313
strategy:
1414
matrix:
15-
node-version: [14.x, 16.x, 18.x, 20.x]
15+
node-version: [18.x, 20.x]
1616

1717
steps:
18-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@v4
19+
20+
- name: Install pnpm
21+
uses: pnpm/action-setup@v4
22+
with:
23+
version: 9
1924

2025
- name: Use Node.js ${{ matrix.node-version }}
21-
uses: actions/setup-node@v3
26+
uses: actions/setup-node@v4
2227
with:
2328
node-version: ${{ matrix.node-version }}
29+
cache: "pnpm"
2430

2531
- name: Build
2632
run: |
27-
npm install
33+
pnpm install
2834
tsc -p tsconfig.json

0 commit comments

Comments
 (0)