Skip to content

Commit adc016a

Browse files
authored
Update npm-publish.yml
1 parent f834d45 commit adc016a

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

.github/workflows/npm-publish.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,25 +9,15 @@ on:
99

1010
jobs:
1111

12-
build:
13-
runs-on: ubuntu-latest
14-
steps:
15-
- uses: actions/checkout@v2
16-
- uses: actions/setup-node@v1
17-
with:
18-
node-version: 12
19-
- run: npm add -g pnpm
20-
- run: pnpm i
21-
2212
publish-npm:
23-
needs: build
2413
runs-on: ubuntu-latest
2514
steps:
2615
- uses: actions/checkout@v2
2716
- uses: actions/setup-node@v1
2817
with:
2918
node-version: 12
3019
registry-url: https://registry.npmjs.org/
20+
- run: npm add -g pnpm
3121
- run: pnpm i
3222
- run: pnpm publish
3323
env:

0 commit comments

Comments
 (0)