-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix build, add workflow for test building on commits
- Loading branch information
Showing
5 changed files
with
2,928 additions
and
469 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,64 @@ | ||
name: Test building EMS | ||
|
||
on: | ||
push: | ||
branches: | ||
- "*" | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build-frontend: | ||
name: Build Frontend | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Use Node.js 18.x | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18.x | ||
|
||
- name: Install lib dependencies | ||
run: | | ||
npm run install:lib | ||
- name: Build libs | ||
run: | | ||
npm run build:lib | ||
- name: Install frontend dependencies | ||
run: | | ||
npm run install:frontend | ||
- name: Build frontend | ||
run: | | ||
npm run build:frontend | ||
build-backend: | ||
name: Build Backend | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Use Node.js 18.x | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18.x | ||
|
||
- name: Install lib dependencies | ||
run: | | ||
npm run install:lib | ||
- name: Build libs | ||
run: | | ||
npm run build:lib | ||
- name: Install backend dependencies | ||
run: | | ||
npm run install:backend | ||
- name: Build backend | ||
run: | | ||
npm run build:backend |
Oops, something went wrong.