Skip to content

Commit

Permalink
Add CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jesserockz committed Apr 18, 2024
1 parent 9ef76dd commit 289940b
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/ci.yaml
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 }}

0 comments on commit 289940b

Please sign in to comment.