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,20 @@ jobs:
2525 if : " !(github.event_name == 'push' && contains(github.event.head_commit.message, '[skip ci]'))"
2626 steps :
2727 - name : Check out project
28- uses : actions/checkout@v2
28+ uses : actions/checkout@v4
2929 with :
3030 fetch-depth : 0
31-
31+
3232 - name : Set up Node.js
33- uses : actions/setup-node@v2
33+ uses : actions/setup-node@v6
34+ with :
35+ node-version : ' 16'
3436
3537 - name : Get yarn cache directory path
3638 id : yarn-cache-dir-path
3739 run : echo "::set-output name=dir::$(yarn cache dir)"
3840
39- - uses : actions/cache@v2
41+ - uses : actions/cache@v4
4042 id : yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
4143 with :
4244 path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
6163 if : ${{ github.event_name != 'pull_request' && github.ref == 'refs/heads/main' }}
6264 id : pages
6365 uses : actions/configure-pages@v2
64-
66+
6567 - name : Upload artifact
6668 if : ${{ github.event_name != 'pull_request' && github.ref == 'refs/heads/main' }}
6769 uses : actions/upload-pages-artifact@v1
7981 steps :
8082 - name : Deploy to GitHub Pages
8183 id : deployment
82- uses : actions/deploy-pages@v1
84+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments