File tree Expand file tree Collapse file tree 2 files changed +25
-30
lines changed Expand file tree Collapse file tree 2 files changed +25
-30
lines changed Original file line number Diff line number Diff line change
1
+ name : npm-publish
2
+ on :
3
+ push :
4
+ branches :
5
+ - master # Change this to your default branch
6
+ jobs :
7
+ npm-publish :
8
+ name : npm-publish
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - name : Checkout repository
12
+ uses : actions/checkout@master
13
+ - name : Set up Node.js
14
+ uses : actions/setup-node@master
15
+ with :
16
+ node-version : 10.0.0
17
+ - name : Publish if version has been updated
18
+ uses : pascalgn/npm-publish-action@51fdb4531e99aac1873764ef7271af448dc42ab4
19
+ with : # All of theses inputs are optional
20
+ tag_name : " v%s"
21
+ tag_message : " v%s"
22
+ commit_pattern : " ^Release (\\ S+)"
23
+ env : # More info about the environment variables in the README
24
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # Leave this as is, it's automatically generated
25
+ NPM_AUTH_TOKEN : ${{ secrets.NPM_AUTH_TOKEN }} # You need to set this in your repo settings
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments