File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,18 +25,15 @@ jobs:
2525 fetch-depth : 0
2626
2727 - name : Use Node.js ${{ matrix.node-version }}
28- uses : actions/setup-node@v1
28+ uses : actions/setup-node@v3
2929 with :
3030 node-version : ${{ matrix.node-version }}
31+ cache : ' npm'
3132
3233 # Make sure we have all branches
3334 - name : Fetch other branches
3435 run : git fetch --no-tags --prune --depth=5 origin master
3536
36- # https://github.com/marketplace/actions/npm-install-cache
37- - uses : c-hive/gha-npm-cache@v1
38- if : ${{ !env.ACT }}
39-
4037 - uses : nrwl/nx-set-shas@v3
4138 with :
4239 main-branch-name : ' master'
Original file line number Diff line number Diff line change 2828 with :
2929 node-version : ${{ matrix.node-version }}
3030 registry-url : https://registry.npmjs.org/
31-
32- # https://github.com/marketplace/actions/npm-install-cache
33- - uses : c-hive/gha-npm-cache@v1
34- if : ${{ !env.ACT }}
31+ cache : ' npm'
3532
3633 - name : Set variables
3734 run : |
You can’t perform that action at this time.
0 commit comments