File tree 2 files changed +8692
-14099
lines changed
2 files changed +8692
-14099
lines changed Original file line number Diff line number Diff line change @@ -13,24 +13,24 @@ jobs:
13
13
with :
14
14
node-version : ${{ matrix.version }}
15
15
16
- # - name: Cache node modules
17
- # id: cache-npm
18
- # uses: actions/cache@v3
19
- # env:
20
- # cache-name: cache-node-modules
21
- # with:
22
- # # npm cache files are stored in `~/.npm` on Linux/macOS
23
- # path: ~/.npm
24
- # key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
25
- # restore-keys: |
26
- # ${{ runner.os }}-build-${{ env.cache-name }}-
27
- # ${{ runner.os }}-build-
28
- # ${{ runner.os }}-
16
+ - name : Cache node modules
17
+ id : cache-npm
18
+ uses : actions/cache@v3
19
+ env :
20
+ cache-name : cache-node-modules
21
+ with :
22
+ # npm cache files are stored in `~/.npm` on Linux/macOS
23
+ path : ~/.npm
24
+ key : ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
25
+ restore-keys : |
26
+ ${{ runner.os }}-build-${{ env.cache-name }}-
27
+ ${{ runner.os }}-build-
28
+ ${{ runner.os }}-
29
29
30
- # - if: ${{ steps.cache-npm.outputs.cache-hit != 'true' }}
31
- # name: List the state of node modules
32
- # continue-on-error: true
33
- # run: npm list
30
+ - if : ${{ steps.cache-npm.outputs.cache-hit != 'true' }}
31
+ name : List the state of node modules
32
+ continue-on-error : true
33
+ run : npm list
34
34
- name : Install modules
35
35
run : npm ci
36
36
You can’t perform that action at this time.
0 commit comments