Skip to content

Commit 1d10ff9

Browse files
committed
chore: update node version
1 parent 4648b02 commit 1d10ff9

File tree

2 files changed

+17
-8
lines changed

2 files changed

+17
-8
lines changed

.github/workflows/prod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
strategy:
1717
matrix:
18-
node-version: [16.x]
18+
node-version: [20.x]
1919

2020
steps:
2121
- name: Checkout 🛎️

.github/workflows/test.yml

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212

1313
strategy:
1414
matrix:
15-
node-version: [16.x]
15+
node-version: [20.x]
1616

1717
steps:
1818
- name: Checkout 🛎️
@@ -36,10 +36,19 @@ jobs:
3636
npx next build && npx next export
3737
touch out/.nojekyll
3838
# CI: false # true -> fails on warning
39-
- name: Deploy 🚀
40-
uses: JamesIves/github-pages-deploy-action@v4
39+
# - name: Deploy 🚀
40+
# uses: JamesIves/github-pages-deploy-action@v4
41+
# with:
42+
# token: ${{ secrets.GITHUB_TOKEN }}
43+
# branch: gh-pages # The branch the action should deploy to.
44+
# folder: out # The folder the action should deploy.
45+
# clean: true # Automatically remove deleted files from the deploy branch
46+
- name: Setup Pages
47+
uses: actions/configure-pages@v5
48+
- name: Upload artifact
49+
uses: actions/upload-pages-artifact@v3
4150
with:
42-
token: ${{ secrets.GITHUB_TOKEN }}
43-
branch: gh-pages # The branch the action should deploy to.
44-
folder: out # The folder the action should deploy.
45-
clean: true # Automatically remove deleted files from the deploy branch
51+
path: 'out'
52+
- name: Deploy to GitHub Pages 🚀
53+
id: deployment
54+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)