From cb05769608eab4e6683e2438a7f9670f65226897 Mon Sep 17 00:00:00 2001 From: Trezy Date: Tue, 3 Sep 2024 07:15:27 -0500 Subject: [PATCH] ci: install playwright browsers --- .github/workflows/handle-release-branch-push.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/handle-release-branch-push.yml b/.github/workflows/handle-release-branch-push.yml index fd73d778..8787ef0b 100644 --- a/.github/workflows/handle-release-branch-push.yml +++ b/.github/workflows/handle-release-branch-push.yml @@ -14,10 +14,13 @@ jobs: # command: test:types - name: Lint command: test:lint + installPlaywright: false - name: Unit tests command: test:unit + installPlaywright: false - name: E2E tests command: test:e2e + installPlaywright: true steps: - name: Checkout uses: actions/checkout@v4 @@ -27,6 +30,10 @@ jobs: - name: Setup uses: ./.github/actions/setup + - name: Install Playwright browsers + if: ${{ matrix.script.installPlaywright == 'true' }} + run: npx playwright install + - name: ${{ matrix.script.name }} run: npm run ${{ matrix.script.command }}