@@ -17,13 +17,13 @@ jobs:
1717
1818 runs-on : ${{ matrix.os }}
1919 steps :
20- - uses : actions/checkout@v2
20+ - uses : actions/checkout@v4
2121 - name : Use Node.js ${{ matrix.node }}
22- uses : actions/setup-node@v2
22+ uses : actions/setup-node@v4
2323 with :
2424 node-version : ${{ matrix.node-version }}
2525 cache : npm
26- cache-dependency-path : package.json
26+ cache-dependency-path : package-lock .json
2727
2828 - name : Install Dependencies
2929 run : npm install
@@ -43,12 +43,12 @@ jobs:
4343
4444 runs-on : ${{ matrix.os }}
4545 steps :
46- - uses : actions/checkout@v2
47- - uses : actions/setup-node@v2
46+ - uses : actions/checkout@v4
47+ - uses : actions/setup-node@v4
4848 with :
4949 node-version : ${{ matrix.node}}
5050 cache : npm
51- cache-dependency-path : package.json
51+ cache-dependency-path : package-lock .json
5252
5353 - name : Install Dependencies
5454 run : npm install
@@ -65,13 +65,13 @@ jobs:
6565 needs : [build, pack]
6666 runs-on : ubuntu-latest
6767 steps :
68- - uses : actions/checkout@v2
69- - uses : actions/setup-node@v2
68+ - uses : actions/checkout@v4
69+ - uses : actions/setup-node@v4
7070 with :
7171 node-version : 16
7272 registry-url : https://registry.npmjs.org/
7373 cache : npm
74- cache-dependency-path : package.json
74+ cache-dependency-path : package-lock .json
7575
7676 - name : Install Dependencies
7777 run : npm install
8989 id : check-branch
9090 run : |
9191 if [[ ${{ github.ref }} =~ ^refs/heads/(main|v[0-9]+\.[0-9]+.*)$ ]]; then
92- echo ::set-output name= match:: true
92+ echo " match= true" >> $GITHUB_OUTPUT
9393 fi # See: https://stackoverflow.com/a/58869470/1123955
9494 - name : Is A Publish Branch
9595 if : steps.check-branch.outputs.match == 'true'
0 commit comments