diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index aa5b152f..01fcffdf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -45,9 +45,10 @@ jobs: run: | npm ci - - name: Install Playwright browsers - run: | - npx playwright install chromium + - name: Install Playwright Browsers + uses: microsoft/playwright-github-action@v1 + with: + browsers: chromium - name: Run tests run: | diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 69be3919..986da352 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -27,13 +27,14 @@ jobs: run: | npm ci --ignore-scripts + - name: Install Playwright Browsers + uses: microsoft/playwright-github-action@v1 + with: + browsers: chromium + - name: Build package run: | npm run build - - - name: Install Playwright browsers - run: | - npx playwright install chromium - name: Build extension (if needed) run: |