docs: update READMEs across packages and apps #315
Workflow file for this run
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: CI | |
| # Controls when the workflow will run | |
| on: | |
| # Triggers the workflow on push or pull request events but only for the "main" branch | |
| pull_request: | |
| branches: ['main'] | |
| # Allows you to run this workflow manually from the Actions tab | |
| workflow_dispatch: | |
| env: | |
| GECKO_ID: '{test}' | |
| jobs: | |
| status-checks: | |
| name: Build & test affected | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install dependencies | |
| run: | | |
| corepack enable | |
| yarn install --immutable | |
| - name: Lint | |
| run: | | |
| yarn lerna run lint --since origin/main --parallel | |
| yarn lerna run lint:css --since origin/main --parallel | |
| - name: Test | |
| run: yarn test:affected | |
| - name: Build | |
| run: yarn build:affected | |
| - name: Build Storybook | |
| run: yarn lerna run build-storybook --since origin/main | |
| - name: Visual regression tests | |
| run: yarn lerna run visual:ci --since origin/main |