fix: remove reliance on top level await and external polyfill/helper #237
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: spec-browser-test-actions | |
on: [push, pull_request] | |
jobs: | |
test: | |
timeout-minutes: 15 | |
runs-on: ubuntu-latest | |
env: | |
NO_COVERAGE_BADGE_UPDATE: 1 | |
FLAGS: FETCH_SERVICE_DISABLE,POST_CONFIGURE_TEST,PLAYWRIGHT,CONTINUE_ON_ERROR,SPEC_BROWSER | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '21.x' | |
registry-url: 'https://registry.npmjs.org' | |
cache: "yarn" | |
- uses: denoland/setup-deno@v1 | |
with: | |
deno-version: 'v1.x' | |
- run: | | |
yarn remove wpt | |
yarn install | |
npx playwright install-deps | |
- run: yarn build | |
# yarn coverage === c8 + yarn test | |
- run: yarn coverage | |
continue-on-error: true |