Skip to content

Commit f2d7561

Browse files
committed
Update github workflow tests
1 parent 8045f7d commit f2d7561

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

.github/workflows/nodejs.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,18 @@ jobs:
1111
name: Use Node.js ${{ matrix.node }}
1212
steps:
1313
- uses: actions/checkout@v4
14+
15+
- name: Setup pnpm
16+
uses: pnpm/action-setup@v4
17+
1418
- name: Setup node
1519
uses: actions/setup-node@v4
1620
with:
1721
node-version: ${{ matrix.node }}
18-
- run: npm install
19-
- run: npm run build
20-
- run: npm test
22+
cache: pnpm
23+
24+
- run: pnpm install
25+
- run: pnpm run build
26+
- run: pnpm run test
2127
env:
2228
CI: true

0 commit comments

Comments
 (0)