File tree Expand file tree Collapse file tree 1 file changed +1
-23
lines changed Expand file tree Collapse file tree 1 file changed +1
-23
lines changed Original file line number Diff line number Diff line change 14
14
name : Setup
15
15
runs-on : ubuntu-20.04
16
16
17
- steps :
18
- - name : Load current commit
19
- uses : actions/checkout@v3
20
- with :
21
- ref : ${{ github.ref }}
22
-
23
- - name : Setup Node.js
24
- uses : volta-cli/action@v4
25
-
26
- - name : Restore cache
27
- uses : actions/cache@v3
28
- id : yarn-cache
29
- if : github.event_name == 'pull_request' || github.event_name == 'push'
30
- with :
31
- path : ' **/node_modules'
32
- key : ${{ runner.os }}-modules-1-${{ hashFiles('**/yarn.lock') }}
33
-
34
- - name : Install dependencies
35
- if : steps.yarn-cache.outputs.cache-hit != 'true'
36
- run : |
37
- yarn --frozen-lockfile --no-progress
38
-
39
17
static-checks :
40
18
name : Static checks
41
19
needs : setup
56
34
if : github.event_name == 'pull_request' || github.event_name == 'push'
57
35
with :
58
36
path : ' **/node_modules'
59
- key : ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
37
+ key : ${{ runner.os }}-modules-1- ${{ hashFiles('**/yarn.lock') }}
60
38
61
39
- name : Install dependencies
62
40
if : steps.yarn-cache.outputs.cache-hit != 'true'
You can’t perform that action at this time.
0 commit comments