@@ -20,19 +20,19 @@ jobs:
2020 runs-on : ubuntu-latest
2121 steps :
2222 - name : Use Node.js
23- uses : actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3.8.2
23+ uses : actions/setup-node@v4
2424 with :
2525 node-version : ' 18'
2626 - name : Checkout
27- uses : actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
27+ uses : actions/checkout@v4
2828 with :
2929 ref : ${{ github.event.pull_request.head.sha }}
3030 - name : Build
3131 run : |
3232 npm install
3333 npm run build
3434 - name : Upload artifact
35- uses : actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
35+ uses : actions/upload-artifact@v4
3636 with :
3737 name : ' site'
3838 path : ./public
@@ -49,13 +49,13 @@ jobs:
4949 # checkout required for pr-preview-action to succeed,
5050 # while the content will not be used
5151 - name : Checkout
52- uses : actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
52+ uses : actions/checkout@v4
5353 - name : Download the preview page
54- uses : actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
54+ uses : actions/download-artifact@v4
5555 with :
5656 name : ' site'
5757 path : ./public
58- - uses : rossjrw/pr-preview-action@4668d7cb417ce7067b0b59bc152b1ae1513010de # v1.4.6
58+ - uses : rossjrw/pr-preview-action@v1
5959 id : deployment
6060 with :
6161 source-dir : ./public
7575 # checkout required for pr-preview-action to succeed,
7676 # while the content will not be used
7777 - name : Checkout
78- uses : actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
79- - uses : rossjrw/pr-preview-action@4668d7cb417ce7067b0b59bc152b1ae1513010de # v1.4.6
78+ uses : actions/checkout@v4
79+ - uses : rossjrw/pr-preview-action@v1
8080 id : deployment
8181 with :
8282 preview-branch : previews
0 commit comments