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