From baaa7ca225b72412604ceb328e6c28cc3410ebc4 Mon Sep 17 00:00:00 2001 From: umaranis Date: Mon, 2 Jan 2023 14:58:23 +1100 Subject: [PATCH] test: github action - update to node 18 and fix the distribution folder --- .github/workflows/tests.yml | 2 +- demos/playground/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3b4d13a..55722a0 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -21,7 +21,7 @@ jobs: strategy: fail-fast: false matrix: - node-version: [16.8] + node-version: [18.11] browser: ['chromium', 'firefox'] editor-mode: ['rich-text', 'plain-text'] events-mode: ['legacy-events', 'modern-events'] diff --git a/demos/playground/package.json b/demos/playground/package.json index 468f1f4..0d9300a 100644 --- a/demos/playground/package.json +++ b/demos/playground/package.json @@ -11,7 +11,7 @@ "test-e2e-ci:chromium": "cross-env E2E_PORT=4000 start-server-and-test prepare-ci 4000 test-e2e:chromium", "test-e2e-ci:firefox": "cross-env E2E_PORT=4000 start-server-and-test prepare-ci 4000 test-e2e:firefox", "test-e2e-ci:webkit": "cross-env E2E_PORT=4000 start-server-and-test prepare-ci 4000 test-e2e:webkit", - "prepare-ci": "pnpm build && serve public -l 4000", + "prepare-ci": "pnpm build && serve dist -l 4000", "test-e2e:chromium": "cross-env E2E_BROWSER=chromium playwright test --project=\"chromium\"", "test-e2e:firefox": "cross-env E2E_BROWSER=firefox playwright test --project=\"firefox\"", "test-e2e:webkit": "cross-env E2E_BROWSER=webkit playwright test --project=\"webkit\"",