Skip to content
This repository was archived by the owner on Apr 22, 2024. It is now read-only.

Commit a4579eb

Browse files
committed
update workflows
1 parent faff56a commit a4579eb

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

.github/workflows/lint.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,15 @@ jobs:
2424
steps:
2525
- name: Checkout
2626
uses: actions/checkout@v2
27+
- uses: pnpm/action-setup@646cdf48217256a3d0b80361c5a50727664284f2
28+
with:
29+
version: 6.10.0
2730
- name: Setup Node.js v14.x
2831
uses: actions/setup-node@v2
2932
with:
3033
node-version: 14
31-
cache: 'npm'
34+
cache: 'pnpm'
3235
- name: Install
33-
run: npm install
36+
run: pnpm install
3437
- name: Lint
35-
run: npm run lint
38+
run: pnpm run lint

.github/workflows/test.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,15 @@ jobs:
2828
steps:
2929
- name: Checkout
3030
uses: actions/checkout@v2
31+
- uses: pnpm/action-setup@646cdf48217256a3d0b80361c5a50727664284f2
32+
with:
33+
version: 6.10.0
3134
- name: Setup Node.js ${{ matrix.node }}
3235
uses: actions/setup-node@v2
3336
with:
3437
node-version: ${{ matrix.node }}
35-
cache: 'npm'
38+
cache: 'pnpm'
3639
- name: Install
37-
run: npm install
40+
run: pnpm install
3841
- name: Test
39-
run: npm test
42+
run: pnpm test

0 commit comments

Comments
 (0)