File tree Expand file tree Collapse file tree 2 files changed +11
-11
lines changed
Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -14,22 +14,22 @@ jobs:
1414 runs-on : ${{ matrix.os }}
1515 steps :
1616 - name : Checkout code
17- uses : actions/checkout@v3
17+ uses : actions/checkout@v4
1818 with :
1919 fetch-depth : 0
20- - uses : actions/setup-node@v3
20+ - uses : actions/setup-node@v4
2121 with :
22- node-version : 16 .x
22+ node-version : 20 .x
2323 - name : Cache pnpm modules
24- uses : actions/cache@v3
24+ uses : actions/cache@v4
2525 env :
2626 cache-name : cache-pnpm-modules
2727 with :
2828 path : ~/.pnpm-store
2929 key : ${{ runner.os }}-build-${{ env.cache-name }}-${{ matrix.node-version }}-${{ hashFiles('**/pnpm-lock.yaml') }}
3030 restore-keys : |
3131 ${{ runner.os }}-build-${{ env.cache-name }}-${{ matrix.node-version }}-${{ hashFiles('**/pnpm-lock.yaml') }}
32- - uses : pnpm/action-setup@v2.2.2
32+ - uses : pnpm/action-setup@v4
3333 with :
3434 version : latest
3535 run_install : true
4040 zip -r dist.zip dist/
4141
4242 - name : Upload artifact
43- uses : actions/upload-artifact@v3
43+ uses : actions/upload-artifact@v4
4444 with :
4545 name : dist
4646 path : dist.zip
Original file line number Diff line number Diff line change @@ -16,12 +16,12 @@ jobs:
1616 release_url : ${{ steps.create_release.outputs.upload_url }}
1717 steps :
1818 - name : Checkout code
19- uses : actions/checkout@v3
19+ uses : actions/checkout@v4
2020 with :
2121 fetch-depth : 0
22- - uses : actions/setup-node@v3
22+ - uses : actions/setup-node@v4
2323 with :
24- node-version : 16 .x
24+ node-version : 20 .x
2525
2626 - name : Create Release
2727 id : create_release
@@ -30,15 +30,15 @@ jobs:
3030 env :
3131 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3232 - name : Cache pnpm modules
33- uses : actions/cache@v3
33+ uses : actions/cache@v4
3434 env :
3535 cache-name : cache-pnpm-modules
3636 with :
3737 path : ~/.pnpm-store
3838 key : ${{ runner.os }}-build-${{ env.cache-name }}-${{ matrix.node-version }}-${{ hashFiles('**/pnpm-lock.yaml') }}
3939 restore-keys : |
4040 ${{ runner.os }}-build-${{ env.cache-name }}-${{ matrix.node-version }}-${{ hashFiles('**/pnpm-lock.yaml') }}
41- - uses : pnpm/action-setup@v2.2.2
41+ - uses : pnpm/action-setup@v4
4242 with :
4343 version : latest
4444 run_install : true
You can’t perform that action at this time.
0 commit comments