Skip to content

Commit

Permalink
fix: vitejs/vite#2433, build error
Browse files Browse the repository at this point in the history
  • Loading branch information
oneforalone committed Jul 12, 2023
1 parent 18c2bbb commit a4a88b1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/test_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,11 @@ jobs:
node-version: 16
cache: 'yarn'

- name: Build
run: yarn && yarn add global rimraf && rimraf build && node scripts/setup_assets.js --check && yarn build:deps && vite build
- name: Install dependencies
run: yarn

- name: Build targets
run: NODE_OPTIONS=--max-old-space-size=32768 yarn build

- name: Setup Qemu
uses: docker/setup-qemu-action@v2
Expand Down
2 changes: 1 addition & 1 deletion nginx-conf.d/revite-test.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ server {

location / {
add_header Access-Control-Allow-Origin *;
root /usr/share/nginx/html;
root /usr/share/nginx/html/revite;
}

}

0 comments on commit a4a88b1

Please sign in to comment.