Skip to content

Commit

Permalink
Add GH Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mathewhany committed Oct 5, 2023
1 parent e3df252 commit 4e12720
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/backend-code-style.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Check BE source code

on: [push]

jobs:
test:
name: Check the source code
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Install front-end packages
run: npm ci
working-directory: ./backend

- name: Prettier
run: npm run format
working-directory: ./backend

- name: Lint
run: npm run lint
working-directory: ./backend
22 changes: 22 additions & 0 deletions .github/workflows/frontend-code-style.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Check FE source code

on: [push]

jobs:
test:
name: Check the source code
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Install front-end packages
run: npm ci
working-directory: ./frontend

- name: Prettier
run: npm run format
working-directory: ./frontend

- name: Lint
run: npm run lint
working-directory: ./frontend

0 comments on commit 4e12720

Please sign in to comment.