We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ea01bb commit bd573ccCopy full SHA for bd573cc
.github/workflows/publish.yml
@@ -1,14 +1,11 @@
1
name: Publish CI
2
3
on:
4
- push:
5
- branches:
6
- - master
7
- paths:
8
- - package.json
+ release:
+ types: [published]
9
10
jobs:
11
- npm-publish:
+ publish:
12
runs-on: ubuntu-latest
13
steps:
14
- name: Begin CI...
@@ -18,6 +15,7 @@ jobs:
18
15
uses: actions/setup-node@v1
19
16
with:
20
17
node-version: 12
+ registry-url: 'https://registry.npmjs.org'
21
22
- name: Install dependencies
23
run: npm ci
@@ -39,4 +37,4 @@ jobs:
39
37
- name: Publish
40
38
run: npm publish
41
env:
42
- NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments