File tree Expand file tree Collapse file tree 1 file changed +23
-17
lines changed Expand file tree Collapse file tree 1 file changed +23
-17
lines changed Original file line number Diff line number Diff line change 66 - ' v*'
77
88jobs :
9- publish :
9+ check :
1010 runs-on : ubuntu-latest
11+ steps :
12+ - name : Checkout
13+ uses : actions/checkout@master
14+ - name : Setup
15+ uses : actions/setup-node@v1
16+ with :
17+ node-version : 14
18+ - name : Cache
19+ uses : actions/cache@v1
20+ with :
21+ path : node_modules
22+ key : ${{ runner.OS }}-npm-cache-${{ hashFiles('**/package.json') }}
23+ restore-keys : |
24+ ${{ runner.OS }}-npm-cache-
25+ - name : Verify
26+ run : |
27+ npm i
28+ npm run preversion
29+ npm :
30+ runs-on : ubuntu-latest
31+ needs : check
1132 steps :
1233 - name : Checkout
1334 uses : actions/checkout@master
14- - name : Setup
15- uses : actions/setup-node@v1
16- with :
17- node-version : 14
18- - name : Cache
19- uses : actions/cache@v1
20- with :
21- path : node_modules
22- key : ${{ runner.OS }}-npm-cache-${{ hashFiles('**/package-lock.json') }}
23- restore-keys : |
24- ${{ runner.OS }}-npm-cache-
25- - name : Verify
26- run : |
27- npm ci
28- npm run preversion
2935 - name : Publish
3036 run : |
3137 echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_AUTH_TOKEN }}" > ~/.npmrc
32- npm publish
38+ npm publish --access public
You can’t perform that action at this time.
0 commit comments