Create JWT + Validate JWT Functionality #13
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: Format & Lint | |
on: [pull_request] | |
jobs: | |
lint: | |
name: Format & 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 | |
# Always run the linter, even if prettier failed | |
if: ${{ steps.install.outcome == 'success' }} |