-
Notifications
You must be signed in to change notification settings - Fork 47
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
9ef76dd
commit 6403696
Showing
1 changed file
with
32 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,32 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- dev | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
name: Build ${{ matrix.name }} | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
include: | ||
- name: Captive Portal | ||
directory: captive-portal | ||
- name: Webserver v2 | ||
directory: packages/v2 | ||
- name: Webserver v3 | ||
directory: packages/v3 | ||
steps: | ||
- name: Clone the repo | ||
uses: actions/[email protected] | ||
- name: Set up Node.JS | ||
uses: actions/[email protected] | ||
- name: Install dependencies | ||
run: npm install | ||
- name: Build ${{ matrix.name }} | ||
run: npm run build | ||
working-directory: ${{ matrix.directory }} |