diff --git a/.github/actions/install-playwright/action.yml b/.github/actions/install-playwright/action.yml deleted file mode 100644 index 0bd61b38c49..00000000000 --- a/.github/actions/install-playwright/action.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: Install Playwright -description: Installs Playwright and its dependencies and caches them. - -runs: - using: composite - steps: - # - name: Query playwright version - # shell: bash - # run: echo "PLAYWRIGHT_VERSION=$(yarn workspace @noir-lang/noirc_abi info @web/test-runner-playwright --json | jq .children.Version | tr -d '"')" >> $GITHUB_ENV - - # - name: Cache playwright binaries - # uses: actions/cache@v4 - # id: playwright-cache - # with: - # path: | - # ~/.cache/ms-playwright - # key: ${{ runner.os }}-playwright-${{ env.PLAYWRIGHT_VERSION }} - - - name: Install playwright deps - shell: bash - # if: steps.playwright-cache.outputs.cache-hit != 'true' - run: | - # Workaround: https://github.com/microsoft/playwright/issues/30503#issuecomment-2074783821 - sudo rm /etc/apt/sources.list.d/microsoft-prod.list - ./.github/scripts/playwright-install.sh - diff --git a/.github/workflows/test-js-packages.yml b/.github/workflows/test-js-packages.yml index 39620d9dde8..bd10e5d784e 100644 --- a/.github/workflows/test-js-packages.yml +++ b/.github/workflows/test-js-packages.yml @@ -258,7 +258,7 @@ jobs: uses: ./.github/actions/setup - name: Install Playwright - uses: ./.github/actions/install-playwright + run: ./.github/scripts/playwright-install.sh - name: Run browser tests run: yarn workspace @noir-lang/acvm_js test:browser @@ -286,7 +286,7 @@ jobs: run: yarn workspace @noir-lang/noirc_abi test - name: Install Playwright - uses: ./.github/actions/install-playwright + run: ./.github/scripts/playwright-install.sh - name: Run browser tests run: yarn workspace @noir-lang/noirc_abi test:browser @@ -353,7 +353,7 @@ jobs: run: yarn workspace @noir-lang/noir_wasm test:build_fixtures - name: Install Playwright - uses: ./.github/actions/install-playwright + run: ./.github/scripts/playwright-install.sh - name: Run node tests run: yarn workspace @noir-lang/noir_wasm test:node @@ -481,7 +481,7 @@ jobs: uses: ./.github/actions/setup - name: Install Playwright - uses: ./.github/actions/install-playwright + run: ./.github/scripts/playwright-install.sh - name: Setup `integration-tests` run: | @@ -513,8 +513,8 @@ jobs: uses: ./.github/actions/setup - name: Install Playwright - uses: ./.github/actions/install-playwright - + run: ./.github/scripts/playwright-install.sh + - name: Install `bb` run: | ./scripts/install_bb.sh