File tree 1 file changed +21
-16
lines changed
1 file changed +21
-16
lines changed Original file line number Diff line number Diff line change 9
9
runs-on : ubuntu-latest
10
10
steps :
11
11
- name : Checkout 🛎️
12
-
13
- with :
14
- persist-credentials : false
12
+ uses : actions/checkout@v3
15
13
16
- - uses : actions/setup-node@v2
17
- with :
18
- node-version : ' 14'
14
+ - name : Setup Pages 📃
15
+ uses : actions/configure-pages@v2
19
16
20
- - name : Install Node 🔧
21
- run : npm install
17
+ - name : Install Node 🧰
18
+ uses : actions/setup-node@v3
19
+ with :
20
+ node-version : 16
21
+ cache : ' npm'
22
22
23
- - name : Build 🔧
24
- run : npm run build
23
+ - name : Install and Build 🔧
24
+ env :
25
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
26
+ run : |
27
+ npm install
28
+ NODE_OPTIONS=--max_old_space_size=4096 npm run build
25
29
26
- - name : Deploy 🚀
27
- uses :
JamesIves/github -pages-[email protected]
30
+ - name : Upload artifact ⬆️
31
+ uses : actions/upload -pages-artifact@v1
28
32
with :
29
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
30
- BRANCH : gh-pages
31
- FOLDER : dist
32
- CLEAN : true
33
+ path : ' ./dist'
34
+
35
+ - name : Deploy to GitHub Pages 🚀
36
+ id : deployment
37
+ uses : actions/deploy-pages@v1
You can’t perform that action at this time.
0 commit comments