File tree Expand file tree Collapse file tree 2 files changed +23
-3
lines changed Expand file tree Collapse file tree 2 files changed +23
-3
lines changed Original file line number Diff line number Diff line change 1+ name : npm Package
2+
3+ on :
4+ release :
5+ types : [prereleased]
6+
7+ jobs :
8+ publish-npm :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - uses : actions/checkout@v2
12+ - uses : actions/setup-node@v2
13+ with :
14+ node-version : " 14"
15+ registry-url : " https://registry.npmjs.org"
16+ - run : npm ci
17+ - run : npm --no-git-tag-version version ${{ github.event.release.tag_name }}
18+ - run : npm publish --access public --tag next
19+ env :
20+ NODE_AUTH_TOKEN : ${{ secrets.npm_token }}
Original file line number Diff line number Diff line change 99 runs-on : ubuntu-latest
1010 steps :
1111 - uses : actions/checkout@v2
12- - uses : actions/setup-node@v1
12+ - uses : actions/setup-node@v2
1313 with :
14- node-version : 14
15- registry-url : https://registry.npmjs.org/
14+ node-version : " 14 "
15+ registry-url : " https://registry.npmjs.org"
1616 - run : npm ci
1717 - run : npm --no-git-tag-version version ${{ github.event.release.tag_name }}
1818 - run : npm publish --access public
You can’t perform that action at this time.
0 commit comments