chore: linting #144
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: Linting | |
on: | |
push: | |
branches-ignore: | |
- develop | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v3 | |
with: | |
persist-credentials: false | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4 | |
- name: Setup Node LTS ✨ | |
uses: actions/setup-node@v3 | |
with: | |
cache: pnpm | |
node-version: lts/* | |
- name: Installing dependencies 📦️ | |
run: pnpm install | |
- name: Lint 🛀 | |
run: pnpm lint | |
- name: Check for formatting 🧹 | |
run: pnpm format:check |