Skip to content

Commit 9f36bbe

Browse files
committed
fix: fix yaml file
1 parent 1e1180c commit 9f36bbe

File tree

2 files changed

+20
-56
lines changed

2 files changed

+20
-56
lines changed

.github/workflows/main.yml

Lines changed: 0 additions & 55 deletions
This file was deleted.

.github/workflows/static.yml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff 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+
2428
jobs:
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

0 commit comments

Comments
 (0)