diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b793e1ff3..78de9b773 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,8 @@ jobs: run: npm i -g pnpm - run: pnpm install - run: pnpm build - - run: nohup pnpm prod-start & node cypress/minecraft-server.mjs & + - run: nohup pnpm prod-start & + - run: nohup node cypress/minecraft-server.mjs & - uses: cypress-io/github-action@v5 with: install: false diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 512dc55bd..13c5e68d4 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -23,6 +23,7 @@ jobs: - run: pnpx zardoy-release node env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - run: cp vercel.json .vercel/output/static/vercel.json - uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} diff --git a/assets/click_stereo.mp3 b/assets/button_click.mp3 similarity index 100% rename from assets/click_stereo.mp3 rename to assets/button_click.mp3 diff --git a/cypress/integration/__image_snapshots__/superflat-world #0.png b/cypress/integration/__image_snapshots__/superflat-world #0.png index 58f2bd21d..05c09e67b 100644 Binary files a/cypress/integration/__image_snapshots__/superflat-world #0.png and b/cypress/integration/__image_snapshots__/superflat-world #0.png differ diff --git a/cypress/integration/__image_snapshots__/superflat-world #1.png b/cypress/integration/__image_snapshots__/superflat-world #1.png new file mode 100644 index 000000000..763d45147 Binary files /dev/null and b/cypress/integration/__image_snapshots__/superflat-world #1.png differ diff --git a/cypress/integration/__image_snapshots__/superflat-world #2.png b/cypress/integration/__image_snapshots__/superflat-world #2.png new file mode 100644 index 000000000..763d45147 Binary files /dev/null and b/cypress/integration/__image_snapshots__/superflat-world #2.png differ diff --git a/cypress/integration/index.spec.ts b/cypress/integration/index.spec.ts index 68944b2e8..f752fdfb9 100644 --- a/cypress/integration/index.spec.ts +++ b/cypress/integration/index.spec.ts @@ -8,53 +8,43 @@ const setLocalStorageSettings = () => { // todo use ssl it('Loads & renders singleplayer', () => { - // todo use