File tree Expand file tree Collapse file tree 1 file changed +16
-23
lines changed
Expand file tree Collapse file tree 1 file changed +16
-23
lines changed Original file line number Diff line number Diff line change 55 branches : [ master ]
66
77jobs :
8- setup :
8+ lint :
9+ name : Verify / Lint
910 runs-on : ubuntu-latest
1011 steps :
1112 - uses : actions/checkout@v2
@@ -14,36 +15,28 @@ jobs:
1415 node-version : ' 12.x'
1516 cache : ' yarn'
1617 - run : yarn install --pure-lockfile
17- - run : mkdir tmp && tar --use-compress-program zstd -cf tmp/project.tar.gz --exclude=./tmp .
18- - uses : actions/upload-artifact@v2
19- with :
20- name : project
21- path : tmp/project.tar.gz
22- retention-days : 1
23-
24- lint :
25- needs : setup
26- runs-on : ubuntu-latest
27- steps :
28- - uses : actions/download-artifact@v2
29- with : { name: project }
30- - run : tar --use-compress-program zstd -xf project.tar.gz
3118 - run : yarn lint
3219
3320 test :
34- needs : setup
21+ name : Verify / Test
3522 runs-on : ubuntu-latest
3623 steps :
37- - uses : actions/download-artifact@v2
38- with : { name: project }
39- - run : tar --use-compress-program zstd -xf project.tar.gz
24+ - uses : actions/checkout@v2
25+ - uses : actions/setup-node@v2
26+ with :
27+ node-version : ' 12.x'
28+ cache : ' yarn'
29+ - run : yarn install --pure-lockfile
4030 - run : yarn test
4131
4232 build :
43- needs : setup
33+ name : Verify / Build
4434 runs-on : ubuntu-latest
4535 steps :
46- - uses : actions/download-artifact@v2
47- with : { name: project }
48- - run : tar --use-compress-program zstd -xf project.tar.gz
36+ - uses : actions/checkout@v2
37+ - uses : actions/setup-node@v2
38+ with :
39+ node-version : ' 12.x'
40+ cache : ' yarn'
41+ - run : yarn install --pure-lockfile
4942 - run : yarn build
You can’t perform that action at this time.
0 commit comments