Commit 8c03060 1 parent 8403546 commit 8c03060 Copy full SHA for 8c03060
File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -98,24 +98,24 @@ Now the `preview` command will launch the server at `http://localhost:8080`.
98
98
- name : Checkout
99
99
uses : actions/checkout@v4
100
100
- name : Set up Node
101
- uses : actions/setup-node@v3
101
+ uses : actions/setup-node@v4
102
102
with :
103
- node-version : 18
103
+ node-version : 20
104
104
cache : ' npm'
105
105
- name : Install dependencies
106
- run : npm install
106
+ run : npm ci
107
107
- name : Build
108
108
run : npm run build
109
109
- name : Setup Pages
110
- uses : actions/configure-pages@v3
110
+ uses : actions/configure-pages@v4
111
111
- name : Upload artifact
112
- uses : actions/upload-pages-artifact@v2
112
+ uses : actions/upload-pages-artifact@v3
113
113
with :
114
- # Upload dist repository
114
+ # Upload dist folder
115
115
path : ' ./dist'
116
116
- name : Deploy to GitHub Pages
117
117
id : deployment
118
- uses : actions/deploy-pages@v2
118
+ uses : actions/deploy-pages@v4
119
119
` ` `
120
120
121
121
## GitLab Pages and GitLab CI
You can’t perform that action at this time.
0 commit comments