-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e3df252
commit fc06ee1
Showing
2 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Lint & Format BE source code | ||
|
||
on: [push] | ||
|
||
jobs: | ||
test: | ||
name: Check the source code | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Install 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: Lint & Format FE source code | ||
|
||
on: [push] | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Install 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 |