Merge branch 'next' into docs/getting-started-for-designers #2945
Workflow file for this run
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: Checks Packages | |
on: | |
workflow_dispatch: | |
pull_request: | |
paths: | |
- 'packages/**' | |
- '*.*js' | |
push: | |
paths: | |
- 'packages/**' | |
jobs: | |
checks: | |
name: Builds, lints and tests code | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Use node 20 and yarn cache | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
cache: 'yarn' | |
- name: Install dependencies | |
run: yarn install --immutable | |
- name: Build | |
run: yarn build | |
- name: Types | |
run: yarn types:react | |
- name: Lint Code | |
run: yarn lint:all | |
- name: Lint CSS | |
run: yarn lint-style | |
- name: Test | |
run: yarn test |