Include yarn cache for CI #253
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: web-platform-test-actions | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
env: | |
NO_COVERAGE_BADGE_UPDATE: 1 | |
FLAGS: FETCH_SERVICE_DISABLE,POST_CONFIGURE_TEST,WEB_PLATFORM_TESTS,CONTINUE_ON_ERROR | |
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" | |
- run: | | |
yarn install | |
yarn add --dev https://github.com/web-platform-tests/wpt.git | |
npx playwright install-deps | |
- run: yarn build | |
- run: yarn test:node | |
continue-on-error: true |