Skip to content

Commit

Permalink
Added linters
Browse files Browse the repository at this point in the history
  • Loading branch information
aymene authored and aymene committed Jan 27, 2024
1 parent 8010963 commit 0d64609
Show file tree
Hide file tree
Showing 4 changed files with 1,094 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Lint

on:
push:
branches:
- main
- dev
pull_request:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: 🏗 Checkout code
uses: actions/checkout@v4

- name: 🏗 Setup Node.js environment
uses: actions/setup-node@main
with:
node-version: 'lts/*'
cache: 'npm'

- name: 🏗 Installing dependencies
run: npm ci

- name: 🚀 Run linters
uses: wearerequired/lint-action@v2
with:
eslint: true
prettier: true
Loading

0 comments on commit 0d64609

Please sign in to comment.