File tree Expand file tree Collapse file tree 1 file changed +2
-15
lines changed
Expand file tree Collapse file tree 1 file changed +2
-15
lines changed Original file line number Diff line number Diff line change @@ -17,8 +17,6 @@ concurrency:
1717 group : ${{ github.workflow }}-${{ github.ref }}
1818 cancel-in-progress : ${{ github.ref != 'refs/heads/master' }}
1919
20- env :
21- CACHE_KEY : " ${{ github.ref }}-${{ github.run_id }}-${{ github.run_attempt }}"
2220
2321jobs :
2422 configure :
5351 with :
5452 node : ${{ matrix.node }}
5553
56- - name : Save build artifacts
57- uses : actions/cache/save@v4
58- with :
59- path : .
60- key : ${{ matrix.node }}-${{ env.CACHE_KEY }}
6154
6255 unit :
6356 needs : [configure, build] # Require build to complete before running tests
7669 node-version : ${{ matrix.node }}
7770 cache : npm
7871
79- - uses : actions/cache/restore@v4
80- with :
81- path : .
82- key : ${{ matrix.node }}-${{ env.CACHE_KEY }}
8372
73+ - run : npm ci
8474 - run : npm run test:ci
8575
8676 # only upload coverage on one node version
10191 node-version : 18
10292 cache : npm
10393
104- - uses : actions/cache/restore@v4
105- with :
106- path : .
107- key : 18-${{ env.CACHE_KEY }}
10894
95+ - run : npm ci
10996 - run : npm run lint
You can’t perform that action at this time.
0 commit comments