Skip to content

Commit

Permalink
Create lint.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gaetanlhf committed Apr 26, 2024
1 parent 62680e1 commit 676d170
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: lint

on:
push:
branches:
- "main"
- "dev"

pull_request:
branches:
- "*"

jobs:
lint:
runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v2

- name: Set Up Node.js
uses: actions/setup-node@v3
with:
node-version: 18

- name: Install Dependencies
run: |
cd functions
npm install
- name: Run ESLint
run: |
cd functions
npm run lint

0 comments on commit 676d170

Please sign in to comment.