diff --git a/.github/workflows/test_release.yaml b/.github/workflows/test_release.yaml index f6deb6172..9f38854bc 100644 --- a/.github/workflows/test_release.yaml +++ b/.github/workflows/test_release.yaml @@ -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 diff --git a/nginx-conf.d/revite-test.conf b/nginx-conf.d/revite-test.conf index f08bc7d2e..52b7e5029 100644 --- a/nginx-conf.d/revite-test.conf +++ b/nginx-conf.d/revite-test.conf @@ -4,7 +4,7 @@ server { location / { add_header Access-Control-Allow-Origin *; - root /usr/share/nginx/html; + root /usr/share/nginx/html/revite; } }