Extract shell state into separate context #2835
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: Lint | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
concurrency: | |
group: '${{ github.workflow }}-${{ github.head_ref || github.ref }}' | |
cancel-in-progress: true | |
jobs: | |
linting: | |
name: Run linters | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@v3 | |
- name: Yarn install | |
run: yarn --frozen-lockfile | |
- name: Lint check | |
run: yarn lint | |
- name: Type check | |
run: yarn typecheck | |
testing: | |
name: Run tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install node 18 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Check out Git repository | |
uses: actions/checkout@v3 | |
- name: Yarn install | |
run: yarn --frozen-lockfile | |
- name: Run tests | |
run: | | |
yarn test --forceExit |