File tree Expand file tree Collapse file tree 2 files changed +20
-56
lines changed
Expand file tree Collapse file tree 2 files changed +20
-56
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -21,6 +21,10 @@ concurrency:
2121 group : " pages"
2222 cancel-in-progress : false
2323
24+ env :
25+ # Hosted GitHub runners have 7 GB of memory available, let's use 6 GB
26+ NODE_OPTIONS : --max-old-space-size=6144
27+
2428jobs :
2529 # Single deploy job since we're just deploying
2630 deploy :
@@ -31,13 +35,28 @@ jobs:
3135 steps :
3236 - name : Checkout
3337 uses : actions/checkout@v4
38+
39+ - name : Set up Node.js
40+ uses : actions/setup-node@v3
41+ with :
42+ node-version : 16.x
43+ cache : yarn
44+
45+ - name : Install dependencies
46+ run : yarn install --frozen-lockfile --non-interactive
47+
48+ - name : Build
49+ run : yarn build
50+
3451 - name : Setup Pages
3552 uses : actions/configure-pages@v5
53+
3654 - name : Upload artifact
3755 uses : actions/upload-pages-artifact@v3
3856 with :
3957 # Upload entire repository
40- path : ' .'
58+ path : " build"
59+
4160 - name : Deploy to GitHub Pages
4261 id : deployment
4362 uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments