This repository was archived by the owner on Nov 21, 2023. It is now read-only.
File tree 1 file changed +7
-5
lines changed
1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 19
19
uses : actions/setup-node@v1
20
20
with :
21
21
node-version : ${{ matrix.node-version }}
22
- - run : npm install
22
+ - run : yarn
23
23
24
24
publish :
25
25
runs-on : ubuntu-latest
@@ -31,11 +31,13 @@ jobs:
31
31
with :
32
32
node-version : ${{ matrix.node-version }}
33
33
- run : npm ci
34
+ - name : Lint source code
35
+ run : yarn lint
34
36
- name : Set package registry
35
- run : npm config set registry https://npm.pkg.github.com
37
+ run : yarn config set registry https://npm.pkg.github.com
36
38
- name : Github package registry authentication
37
- run : npm set //npm.pkg.github.com/:_authToken ${{ secrets.GPR_TOKEN }}
39
+ run : yarn set //npm.pkg.github.com/:_authToken ${{ secrets.GPR_TOKEN }}
38
40
- name : Npm registry authentication
39
- run : npm set //registry.npmjs.org/:_authToken ${{ secrets.NPM_TOKEN }}
41
+ run : yarn set //registry.npmjs.org/:_authToken ${{ secrets.NPM_TOKEN }}
40
42
- name : Publish package to Github and Npm package registries
41
- run : npm publish
43
+ run : yarn publish
You can’t perform that action at this time.
0 commit comments