File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,25 +16,19 @@ jobs:
1616 runs-on : ubuntu-latest
1717 steps :
1818 - name : Check out the repository
19- uses : actions/checkout@master
19+ uses : actions/checkout@v3
2020 with :
2121 fetch-depth : 0
2222
2323 - name : Set up Node environment
24- uses : actions/setup-node@v1
24+ uses : actions/setup-node@v3
2525 with :
26- node-version : ' 10.x'
26+ node-version : lts/*
27+ cache : ' yarn'
2728
28- - name : Restore node_modules cache
29- uses : actions/cache@v1
30- id : multinetjs-cache
31- with :
32- path : /home/runner/work/multinetjs/multinetjs/node_modules
33- key : ${{ runner.os }}-${{ hashFiles('/home/runner/work/multinetjs/multinetjs/yarn.lock') }}-multinetjs-cache
3429
3530 - name : Install yarn packages
36- if : steps.multinetjs-cache.outputs.cache-hit != 'true'
37- run : yarn install
31+ run : yarn install --immutable
3832
3933 - name : Run linting test
4034 run : yarn lint
You can’t perform that action at this time.
0 commit comments