Skip to content

Commit

Permalink
feat: lint app on push to feature branches, #3
Browse files Browse the repository at this point in the history
  • Loading branch information
weaponsforge committed Aug 17, 2024
1 parent 4bdb378 commit 816c493
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Lint Files

on:
push:
branches-ignore:
- master
- dev

jobs:
lint-client:
name: Lint Client
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v3
- name: Use NodeJS v20.15.0
uses: actions/setup-node@v3
with:
node-version: 20.15.0
- name: Install Dependencies
run: |
cd app
npm install
- name: Lint
run: |
cd app
npm run lint

0 comments on commit 816c493

Please sign in to comment.