File tree Expand file tree Collapse file tree 1 file changed +13
-20
lines changed
Expand file tree Collapse file tree 1 file changed +13
-20
lines changed Original file line number Diff line number Diff line change 11name : build-test-deploy
2-
32on : push
4-
53jobs :
64 build :
75 runs-on : ubuntu-latest
8-
96 steps :
107 - name : checkout repo
11- uses : actions/checkout@v3
8+ uses : actions/checkout@v4
129 - name : use node.js
13- uses : actions/setup-node@v3
10+ uses : actions/setup-node@v4
1411 with :
15- node-version : ' 18 .x'
12+ node-version : ' 20 .x'
1613 - run : npm install
17- - run : npm run build
14+ - run : npm run build
1815
19- test :
16+ test :
2017 needs : build
21-
2218 runs-on : ubuntu-latest
23-
2419 steps :
2520 - name : checkout repo
26- uses : actions/checkout@v3
21+ uses : actions/checkout@v4
2722 - name : use node.js
28- uses : actions/setup-node@v3
23+ uses : actions/setup-node@v4
2924 with :
30- node-version : ' 18 .x'
25+ node-version : ' 20 .x'
3126 - run : npm install
3227 - run : npm test
3328
@@ -47,23 +42,21 @@ jobs:
4742
4843 steps :
4944 - name : checkout repo
50- uses : actions/checkout@v3
45+ uses : actions/checkout@v4
5146 with :
5247 token : ${{ secrets.GITHUB_TOKEN }}
5348 - name : use node.js
54- uses : actions/setup-node@v3
49+ uses : actions/setup-node@v4
5550 with :
56- node-version : ' 18 .x'
51+ node-version : ' 20 .x'
5752 - name : configure github pages
58- uses : actions/configure-pages@v3
53+ uses : actions/configure-pages@v4
5954 with :
6055 static_site_generator : next
6156 - run : npm install
6257 - run : npm run build
6358 - name : upload artifacts
64- uses : actions/upload-pages-artifact@v1
59+ uses : actions/upload-pages-artifact@v3
6560 with :
6661 path : ' ./out'
6762 - name : deploy
68- id : deployment
69- uses : actions/deploy-pages@v1
You can’t perform that action at this time.
0 commit comments