diff --git a/.github/workflows/testcafe.yml b/.github/workflows/testcafe.yml index 5f608dd45..1c585ac77 100644 --- a/.github/workflows/testcafe.yml +++ b/.github/workflows/testcafe.yml @@ -38,12 +38,16 @@ jobs: uses: actions/setup-node@v3 with: node-version: 18 + cache: 'yarn' - name: Serve static files run: python -m http.server 8080 & + - name: Install node dependencies + run: yarn + - name: Set up posthog-js - run: yarn && yarn build-rollup + run: yarn build-rollup - name: Run ${{ matrix.name }} test run: yarn testcafe "browserstack:${{ matrix.browserstack }}"