Skip to content

Commit

Permalink
Create linters.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tr3v3r authored Nov 22, 2024
1 parent a53f506 commit f737b08
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/linters.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Linters Check
on:
pull_request:
types: [opened, synchronize]
workflow_dispatch:
jobs:
preview:
runs-on: ubuntu-latest
permissions:
pull-requests: write # Allow comments on PRs
steps:
- name: 🏗 Setup repo
uses: actions/checkout@v3

- name: 🏗 Setup Node
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: yarn

- name: 📦 Install dependencies
run: yarn install

- name: 📦 Check eslint
run: yarn lint

- name: 📦 Check typescript
run: yarn typecheck

0 comments on commit f737b08

Please sign in to comment.