Merge pull request #244 from roodjong/tls-deployment #219
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: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
cache: "yarn" | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Lint Prettier | |
run: yarn lint:prettier | |
- name: Install frontend dependencies | |
run: cd frontend && yarn install --frozen-lockfile | |
- name: Run next lint on frontend | |
run: cd frontend && yarn lint --max-warnings=0 | |
- name: Typecheck frontend | |
run: cd frontend && yarn ts-lint |