Merge pull request #1495 from zetkin/issue-1490/fix-redirecting #2666
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: CI | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
permissions: | |
contents: read | |
jobs: | |
lint: | |
uses: ./.github/workflows/reusable-base.yml | |
with: | |
yarn-test-script: lint | |
check-types: | |
uses: ./.github/workflows/reusable-base.yml | |
with: | |
yarn-test-script: check-types | |
playwright-test: | |
uses: ./.github/workflows/reusable-base.yml | |
with: | |
validation-script: exit `grep -ER "(test|describe)\.only" integrationTesting | wc -l` | |
build-script: npx playwright install chromium | |
yarn-test-script: playwright:ci | |
upload-path: playwright-report/ | |
unit-test: | |
uses: ./.github/workflows/reusable-base.yml | |
with: | |
validation-script: exit `grep -ER "(test|describe|it)\.only" src | wc -l` | |
yarn-test-script: test |