File tree Expand file tree Collapse file tree 2 files changed +20
-2
lines changed
Expand file tree Collapse file tree 2 files changed +20
-2
lines changed Original file line number Diff line number Diff line change 1+ name : Publish Package to npmjs
2+ on :
3+ release :
4+ types : [created]
5+ jobs :
6+ build :
7+ runs-on : ubuntu-latest
8+ steps :
9+ - uses : actions/checkout@v3
10+ # Setup .npmrc file to publish to npm
11+ - uses : actions/setup-node@v3
12+ with :
13+ node-version : ' 16.x'
14+ registry-url : ' https://registry.npmjs.org'
15+ - run : npm ci
16+ - run : npm publish
17+ env :
18+ NODE_AUTH_TOKEN : ${{ secrets.NPM_PUBLISH_SPUR_TOKEN }}
Original file line number Diff line number Diff line change 1717 # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
1818
1919 steps :
20- - uses : actions/checkout@v2
20+ - uses : actions/checkout@v3
2121 - name : Use Node.js ${{ matrix.node-version }}
22- uses : actions/setup-node@v2
22+ uses : actions/setup-node@v3
2323 with :
2424 node-version : ${{ matrix.node-version }}
2525 cache : ' npm'
You can’t perform that action at this time.
0 commit comments