File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change 3030 runs-on : ubuntu-latest
3131 steps :
3232 - name : Checkout
33- uses : actions/checkout@v3
33+ uses : actions/checkout@v4
3434 - name : Detect package manager
3535 id : detect-package-manager
3636 run : |
@@ -49,20 +49,20 @@ jobs:
4949 exit 1
5050 fi
5151 - name : Setup Node
52- uses : actions/setup-node@v3
52+ uses : actions/setup-node@v4
5353 with :
54- node-version : " 16 "
54+ node-version : " 20 "
5555 cache : ${{ steps.detect-package-manager.outputs.manager }}
5656 - name : Setup Pages
57- uses : actions/configure-pages@v3
57+ uses : actions/configure-pages@v5
5858 with :
5959 # Automatically inject basePath in your Next.js configuration file and disable
6060 # server side image optimization (https://nextjs.org/docs/api-reference/next/image#unoptimized).
6161 #
6262 # You may remove this line if you want to manage the configuration yourself.
6363 static_site_generator : next
6464 - name : Restore cache
65- uses : actions/cache@v3
65+ uses : actions/cache@v4
6666 with :
6767 path : |
6868 .next/cache
7575 run : ${{ steps.detect-package-manager.outputs.manager }} ${{ steps.detect-package-manager.outputs.command }}
7676 - name : Build with Next.js
7777 run : ${{ steps.detect-package-manager.outputs.runner }} next build
78- - name : Static HTML export with Next.js
79- run : ${{ steps.detect-package-manager.outputs.runner }} next export
8078 - name : Upload artifact
81- uses : actions/upload-pages-artifact@v2
79+ uses : actions/upload-pages-artifact@v3
8280 with :
8381 path : ./out
8482
9290 steps :
9391 - name : Deploy to GitHub Pages
9492 id : deployment
95- uses : actions/deploy-pages@v2
93+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments