Skip to content

Commit

Permalink
Add linter for frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
Pechenux committed Apr 18, 2024
1 parent 7bf2023 commit a56fb6c
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/check-fronted-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Check frontend code lint
on:
pull_request:
paths:
- 'web-app/client/**'

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set Node.js
uses: actions/setup-node@v4
with:
node-version-file: 'web-app/client/.nvmrc'

- name: Install yarn
run: npm install --global yarn

- name: Install dependencies
working-directory: web-app/client
run: yarn install --immutable --immutable-cache --check-cache

- name: Run lint
working-directory: web-app/client
run: yarn lint

0 comments on commit a56fb6c

Please sign in to comment.