Skip to content

Commit

Permalink
SMA-20: added checkstyle-react to workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
ivamach committed Jan 28, 2024
1 parent 72069a5 commit 3cb462b
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/checkstyle-react.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Check the React source code

on: [ push, pull_request ]

jobs:
test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./frontend/sportsmatch-app

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/[email protected]
with:
node-version: latest

- name: Install dependencies
run: npm install

- name: Prettier
run: npm run format

- name: Lint
run: npm run lint

0 comments on commit 3cb462b

Please sign in to comment.