Skip to content

Commit 8700139

Browse files
authored
switch to pnpm from yarn (#31)
1 parent 4db0b1e commit 8700139

File tree

5 files changed

+8361
-6236
lines changed

5 files changed

+8361
-6236
lines changed

.github/workflows/lint.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,16 @@ jobs:
2222
steps:
2323
- name: Checkout
2424
uses: actions/checkout@v2
25+
- name: Install pnpm
26+
uses: pnpm/action-setup@v2.0.1
27+
with:
28+
version: 6.17.0
2529
- name: Setup Node.js v14.x
2630
uses: actions/setup-node@v2
2731
with:
2832
node-version: 14
29-
cache: 'yarn'
33+
cache: 'pnpm'
3034
- name: Install
31-
run: yarn install
35+
run: pnpm install
3236
- name: Lint
33-
run: yarn lint
37+
run: pnpm lint

.github/workflows/test.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,16 @@ jobs:
2626
steps:
2727
- name: Checkout
2828
uses: actions/checkout@v2
29+
- name: Install pnpm
30+
uses: pnpm/action-setup@v2.0.1
31+
with:
32+
version: 6.17.0
2933
- name: Setup Node.js ${{ matrix.node }}
3034
uses: actions/setup-node@v2
3135
with:
3236
node-version: ${{ matrix.node }}
33-
cache: 'yarn'
37+
cache: 'pnpm'
3438
- name: Install
35-
run: yarn install
39+
run: pnpm install
3640
- name: Test
37-
run: yarn test
41+
run: pnpm test

0 commit comments

Comments
 (0)