From 4ab207c6b297b1004824a06f058f718e2b3a7d68 Mon Sep 17 00:00:00 2001 From: Carl-Erik Kopseng Date: Thu, 5 Oct 2023 22:49:47 +0200 Subject: [PATCH] Setup test for watch mode on Github Actions --- .github/workflows/main.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 48233f5d..2909e84a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,6 +12,23 @@ permissions: contents: read jobs: + check-tests-are-watchable: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: "lts/*" + cache: npm + - name: Install dependencies + run: | + npm ci + env: + PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: 1 + - name: Tests that tests are watchable + run: | + ./scripts/test-watch-mode-works.sh + prettier: runs-on: ubuntu-latest steps: