File tree Expand file tree Collapse file tree 1 file changed +3
-22
lines changed Expand file tree Collapse file tree 1 file changed +3
-22
lines changed Original file line number Diff line number Diff line change 11name : Run Tests
22
3- on : [push, pull_request]
3+ on : [pull_request]
44
55jobs :
66 cache_node_modules :
2121 if : steps.cache-node-modules.outputs.cache-hit != 'true'
2222 run : npm install
2323
24- test_lints_sass :
24+ test_lints :
2525 needs : cache_node_modules
2626 runs-on : ubuntu-latest
2727
4242
4343 - name : Test SASS
4444 run : npm run test:sass
45-
46- test_lints_js :
47- needs : cache_node_modules
48- runs-on : ubuntu-latest
49-
50- steps :
51- - name : Checkout repository code
52- uses : actions/checkout@v2
53-
54- - name : Load node_modules
55- id : cache-node-modules
56- uses : actions/cache@v2
57- with :
58- path : node_modules
59- key : node_modules-${{ hashFiles('package-lock.json') }}
60-
61- - name : Install node_modules
62- if : steps.cache-node-modules.outputs.cache-hit != 'true'
63- run : npm install
64-
45+
6546 - name : Test JS
6647 run : npm run test:js
6748
You can’t perform that action at this time.
0 commit comments