File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99jobs :
1010 build :
1111 runs-on : ubuntu-latest
12-
13- strategy :
14- matrix :
15- node-version : [14.x]
16-
1712 steps :
1813 - uses : actions/checkout@v4
1914
2015 - uses : hmarr/debug-action@v3
2116
22- - name : Cache node modules
23- uses : actions/cache@v4
24- env :
25- cache-name : cache-node-modules
26- with :
27- path : ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS
28- key : ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
29- restore-keys : |
30- ${{ runner.os }}-build-${{ env.cache-name }}-
31- ${{ runner.os }}-build-
32- ${{ runner.os }}-
33-
3417 - name : Use Node.js ${{ matrix.node-version }}
3518 uses : actions/setup-node@v4
3619 with :
37- node-version : ${{ matrix.node-version }}
20+ node-version-file : " .nvmrc"
21+ cache : " npm"
3822
3923 - run : npm ci
4024
Original file line number Diff line number Diff line change 1+ v18
You can’t perform that action at this time.
0 commit comments