Skip to content

Commit 2e486ba

Browse files
authored
Update npmpublish.yml
This doesn't need a build step, so... simplify
1 parent a3d9934 commit 2e486ba

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

.github/workflows/npmpublish.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,14 @@ on:
55
types: [published]
66

77
jobs:
8-
build:
9-
runs-on: ubuntu-latest
10-
steps:
11-
- uses: actions/checkout@v1
12-
- uses: actions/setup-node@v1
13-
with:
14-
node-version: 12
15-
- run: npm ci
16-
- run: npm run build
17-
188
publish-npm:
19-
needs: build
209
runs-on: ubuntu-latest
2110
steps:
2211
- uses: actions/checkout@v1
2312
- uses: actions/setup-node@v1
2413
with:
2514
node-version: 12
2615
registry-url: https://registry.npmjs.org/
27-
- run: npm ci
2816
- run: npm publish
2917
env:
3018
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

0 commit comments

Comments
 (0)