Merge pull request #79 from esphome/dev #1
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
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: v2 | |
- name: Webserver v3 | |
directory: 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: packages/${{ matrix.directory }} |