Skip to content

Commit 7eec6ec

Browse files
committed
chore: fix publish script
1 parent 1800505 commit 7eec6ec

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,17 @@ on:
55
types: [created]
66

77
jobs:
8-
build:
8+
publish-npm:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v1
1212
- uses: actions/setup-node@v1
1313
with:
1414
node-version: 10
15+
registry-url: https://registry.npmjs.org/
1516
- run: npm ci
1617
- run: npm run build
1718
- run: npm test
18-
19-
publish-npm:
20-
needs: build
21-
runs-on: ubuntu-latest
22-
steps:
23-
- uses: actions/checkout@v1
24-
- uses: actions/setup-node@v1
25-
with:
26-
node-version: 10
27-
registry-url: https://registry.npmjs.org/
2819
- run: npm run publish:ci
2920
env:
3021
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 commit comments

Comments
 (0)