Merge pull request #5792 from glinto:patch-1 #7690
This file contains hidden or 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: Tests | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: npm | |
- uses: google/wireit@setup-github-actions-caching/v1 | |
- run: npm ci | |
- run: npm run build | |
env: | |
WIREIT_FAILURES: continue | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: npm | |
- uses: google/wireit@setup-github-actions-caching/v1 | |
- run: npm ci | |
- run: npx playwright install --with-deps | |
- run: npm test | |
env: | |
WIREIT_FAILURES: continue |