File tree Expand file tree Collapse file tree 2 files changed +13
-11
lines changed Expand file tree Collapse file tree 2 files changed +13
-11
lines changed Original file line number Diff line number Diff line change
1
+ name : Lint
2
+
3
+ on : [push]
4
+
5
+ jobs :
6
+ eslint :
7
+ runs-on : ubuntu-latest
8
+ steps :
9
+ - uses : actions/checkout@v1
10
+ - uses : hallee/eslint-action@master
11
+ with :
12
+ repo-token : ${{secrets.GITHUB_TOKEN}}
Original file line number Diff line number Diff line change 7
7
release :
8
8
types : [created]
9
9
10
- jobs :
11
- eslint :
12
- runs-on : ubuntu-latest
13
- steps :
14
- - uses : actions/checkout@v1
15
- - uses : hallee/eslint-action@master
16
- with :
17
- repo-token : ${{secrets.GITHUB_TOKEN}}
18
-
19
10
publish-npm :
20
- needs : eslint
21
11
runs-on : ubuntu-latest
22
12
steps :
23
13
- uses : actions/checkout@v2
24
14
- uses : actions/setup-node@v1
25
15
with :
26
16
node-version : 12
27
17
registry-url : https://registry.npmjs.org/
28
- - run : npm ci
18
+ - run : yarn install --frozen-lockfile
29
19
- run : npm publish
30
20
env :
31
21
NODE_AUTH_TOKEN : ${{secrets.npm_token}}
You can’t perform that action at this time.
0 commit comments