From 1ac019c36374625a2f80ac4fccd798f7d66b87fe Mon Sep 17 00:00:00 2001 From: Simon Siefke Date: Fri, 30 Dec 2022 22:51:23 +0100 Subject: [PATCH 1/3] run e2e tests in ci --- .github/workflows/pr.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 3bdb95c..60348ce 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -21,4 +21,8 @@ jobs: - name: npm ci run: npm ci if: steps.npm-cache.outputs.cache-hit != 'true' + - name: build + run: cd packages/injected-code && npm run build && cd ../../ - run: npm test + - name: e2e + run: npm run e2e From e84dbc6ecc246cbe2949afbc3f1e11f716225314 Mon Sep 17 00:00:00 2001 From: Simon Siefke Date: Fri, 30 Dec 2022 22:57:18 +0100 Subject: [PATCH 2/3] try to fix e2e tests in ci --- .github/workflows/pr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 60348ce..ff4c42b 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -25,4 +25,4 @@ jobs: run: cd packages/injected-code && npm run build && cd ../../ - run: npm test - name: e2e - run: npm run e2e + run: xvfb-run -a npm run e2e From 2c7e406aeebc100a855eafbee41d3333baf60e93 Mon Sep 17 00:00:00 2001 From: Simon Siefke Date: Sat, 31 Dec 2022 09:54:01 +0100 Subject: [PATCH 3/3] fix: ci build script --- .github/workflows/pr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index ff4c42b..286f1d9 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -22,7 +22,7 @@ jobs: run: npm ci if: steps.npm-cache.outputs.cache-hit != 'true' - name: build - run: cd packages/injected-code && npm run build && cd ../../ + run: npx tsc -b && cd packages/injected-code && npm run build && cd ../../ - run: npm test - name: e2e run: xvfb-run -a npm run e2e