format #41
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: Typescript CI | |
on: push | |
jobs: | |
format: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Step 1 - Check out main branch | |
uses: actions/checkout@v3 | |
- name: Step 2 - Install project | |
run: yarn install --frozen-lockfile | |
- name: Step 3 - Check correct formatting | |
run: yarn prettier --check . | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Step 1 - Check out main branch | |
uses: actions/checkout@v3 | |
- name: Step 2 - Install project | |
run: yarn install --frozen-lockfile | |
- name: Step 3 - Check correct linting | |
run: yarn eslint --fix . |