Drb bugfixes #375
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] | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install | |
run: yarn install --frozen-lockfile | |
id: install | |
- name: Run prettier | |
run: yarn format:check | |
- name: Run ESLint | |
run: yarn lint:check | |
# Always run the linter, even if prettier failed | |
if: ${{ steps.install.outcome == 'success' }} |