From 1e8e2b9db6b23709ecfa916bc588a57ee02e7a0d Mon Sep 17 00:00:00 2001 From: hughcrt Date: Fri, 5 Apr 2024 13:15:01 -0300 Subject: [PATCH] t --- .github/workflows/run-tests.yml | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index cb325a8e..1a5c5f82 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -1,10 +1,9 @@ name: Run tests on: - push - # push: - # branches-ignore: - # - "main" + push: + branches-ignore: + - "main" jobs: run-tests: @@ -33,18 +32,13 @@ jobs: restore-keys: | ${{ runner.os }}-playwright- + - name: Install dependencies + run: npm ci + - name: Install Playwright if: steps.playwright-cache.outputs.cache-hit != 'true' run: npx playwright install --with-deps - - if: ${{ steps.cache-npm.outputs.cache-hit != 'true' }} - name: List the state of node modules - continue-on-error: true - run: npm list - - - name: Install dependencies - run: npm ci - - name: Start backend env: DATABASE_URL: ${{ secrets.DATABASE_URL }}