File tree Expand file tree Collapse file tree 1 file changed +21
-16
lines changed Expand file tree Collapse file tree 1 file changed +21
-16
lines changed Original file line number Diff line number Diff line change 99 runs-on : ubuntu-latest
1010 steps :
1111 - name : Checkout 🛎️
12- uses : actions/checkout@v2.3.1
13- with :
14- persist-credentials : false
12+ uses : actions/checkout@v3
1513
16- - uses : actions/setup-node@v2
17- with :
18- node-version : ' 14'
14+ - name : Setup Pages 📃
15+ uses : actions/configure-pages@v2
1916
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'
2222
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
2529
26- - name : Deploy 🚀
27- uses : JamesIves/github -pages-deploy-action@3.7.1
30+ - name : Upload artifact ⬆️
31+ uses : actions/upload -pages-artifact@v1
2832 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