Skip to content

Commit 37fdf18

Browse files
committed
Update publish workflow
1 parent 191d778 commit 37fdf18

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/publish.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,13 @@ jobs:
1414
with:
1515
node-version: 14
1616
registry-url: https://registry.npmjs.org
17-
- run: npm add -g pnpm
18-
- run: pnpm i
19-
- run: pnpm t
20-
- run: npm publish
17+
- name: Setup pnpm
18+
run: npm add -g pnpm
19+
- name: Install dependencies
20+
run: pnpm i
21+
- name: Test
22+
run: pnpm t
23+
- name: Publish
24+
run: npm publish
2125
env:
2226
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)