Skip to content
This repository was archived by the owner on May 5, 2023. It is now read-only.

Commit 7ff0558

Browse files
authored
Use pnpm (#24)
1 parent 64525c1 commit 7ff0558

File tree

3 files changed

+2743
-10
lines changed

3 files changed

+2743
-10
lines changed

.github/workflows/test.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,18 @@ jobs:
99

1010
strategy:
1111
matrix:
12-
node-version: [12.x, 14.x, 16.x]
12+
node-version: [14.x, 16.x, 18.x]
1313

1414
steps:
1515
- uses: actions/checkout@v1
16+
- uses: pnpm/action-setup@v2
17+
with:
18+
version: 7.18.2
1619
- name: Use Node.js ${{ matrix.node-version }}
17-
uses: actions/setup-node@v1
20+
uses: actions/setup-node@v3
1821
with:
1922
node-version: ${{ matrix.node-version }}
20-
- name: npm install, build, and test
21-
run: |
22-
npm install
23-
npm run build --if-present
24-
npm test
25-
env:
26-
CI: true
23+
cache: 'pnpm'
24+
- run: pnpm install --frozen-lockfile
25+
- run: pnpm build
26+
- run: pnpm test

.npmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)