Skip to content

Commit 342adf6

Browse files
authored
Merge pull request #12 from cloudflare/fixing-ci
switching GH action to PNPM
2 parents fc26476 + 530b17b commit 342adf6

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/tests.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,17 @@ jobs:
1212

1313
steps:
1414
- uses: actions/checkout@v4
15-
16-
- name: Setup Node.js
15+
- name: Install pnpm
16+
uses: pnpm/action-setup@v4
17+
with:
18+
version: 10
19+
- name: Use Node.js ${{ matrix.node-version }}
1720
uses: actions/setup-node@v4
1821
with:
19-
node-version: 20
20-
cache: 'npm'
21-
22+
node-version: ${{ matrix.node-version }}
23+
cache: 'pnpm'
2224
- name: Install dependencies
23-
run: npm ci
25+
run: pnpm install
2426

2527
- name: Run tests
2628
run: npm test

0 commit comments

Comments
 (0)