lint #2
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: | |
workflow_dispatch: | |
pull_request: | |
jobs: | |
build: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.nvmrc' | |
- name: Install dependencies and config | |
run: | | |
corepack enable | |
yarn | |
yarn graphql | |
yarn ioc-generate | |
- name: Check types | |
run: yarn check-types | |
- name: ESlint | |
run: yarn lint | |
- name: Check formatting | |
run: yarn prettier-check |