Skip to content

Commit a4a88b1

Browse files
committed
fix: vitejs/vite#2433, build error
1 parent 18c2bbb commit a4a88b1

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/test_release.yaml

+5-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,11 @@ jobs:
2525
node-version: 16
2626
cache: 'yarn'
2727

28-
- name: Build
29-
run: yarn && yarn add global rimraf && rimraf build && node scripts/setup_assets.js --check && yarn build:deps && vite build
28+
- name: Install dependencies
29+
run: yarn
30+
31+
- name: Build targets
32+
run: NODE_OPTIONS=--max-old-space-size=32768 yarn build
3033

3134
- name: Setup Qemu
3235
uses: docker/setup-qemu-action@v2

nginx-conf.d/revite-test.conf

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ server {
44

55
location / {
66
add_header Access-Control-Allow-Origin *;
7-
root /usr/share/nginx/html;
7+
root /usr/share/nginx/html/revite;
88
}
99

1010
}

0 commit comments

Comments
 (0)