Skip to content
This repository was archived by the owner on Sep 17, 2022. It is now read-only.

Commit 14d8cd1

Browse files
committed
Add pnpm install action
1 parent 2a4010a commit 14d8cd1

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/ shipjs-trigger.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ jobs:
1717
with:
1818
registry-url: "https://registry.npmjs.org"
1919
node-version: '14'
20-
- run: pnpm i
20+
- uses: pnpm/action-setup@v2.0.1
21+
with:
22+
run_install: true
2123
- run: npx shipjs trigger
2224
env:
2325
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/test.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,9 @@ jobs:
2626
uses: actions/setup-node@v2.4.1
2727
with:
2828
node-version: ${{ matrix.node }}
29-
- name: Install
30-
run: pnpm i
29+
- uses: pnpm/action-setup@v2.0.1
30+
with:
31+
run_install: true
3132

3233
- name: Test
3334
run: pnpm test --coverage

0 commit comments

Comments
 (0)