-
Notifications
You must be signed in to change notification settings - Fork 14
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
9fd8d7b
commit e1a7303
Showing
4 changed files
with
64 additions
and
39 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,59 @@ | ||
name: Frontend | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'main' | ||
pull_request: | ||
paths: | ||
- 'webapp/frontend/**' | ||
|
||
defaults: | ||
run: | ||
working-directory: ./webapp/frontend | ||
|
||
jobs: | ||
packages: | ||
name: check npm install | ||
runs-on: self-hosted | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v2 | ||
- name: setup Node | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: 14 | ||
check-latest: true | ||
cache: npm | ||
- name: check npm ci | ||
run: npm ci | ||
lint: | ||
runs-on: self-hosted | ||
needs: [packages] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: setup Node | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: 14 | ||
check-latest: true | ||
cache: npm | ||
- name: install dependencies | ||
run: npm ci | ||
- name: run lint | ||
run: npm run lint | ||
build: | ||
runs-on: self-hosted | ||
needs: [packages] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: setup Node | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: 14 | ||
check-latest: true | ||
cache: npm | ||
- name: install dependencies | ||
run: npm ci | ||
- name: run build | ||
run: npm run build |
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
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