diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 7183671..2d19cc1 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -1,11 +1,9 @@ name: Test and E2E tests on PR run-name: Run tests and E2E tests on PR - on: pull_request: branches: - main - jobs: run-tests: runs-on: ubuntu-latest @@ -26,8 +24,13 @@ jobs: uses: actions/setup-node@v3 with: node-version: '20' - - run: yarn install + + - name: Install dependencies + run: yarn install + - name: Run E2E tests env: PLAYWRIGHT_URL: http://localhost:3000 - run: yarn test:e2e + CI: + run: | + yarn test:e2e