Files
OpenMQTTGateway/.github/workflows/build.yml
Leon Kiefer a83f725bad Npm docs setup (#834)
* added vuepress to package json
* use vuepress from package json
2020-12-13 12:49:13 -06:00

35 lines
821 B
YAML

name: Build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
name: Build with PlatformIO
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.7"
- name: Install platformio
run: |
python -m pip install --upgrade pip
pip install platformio
- name: Run PlatformIO
run: platformio run
documentation:
runs-on: ubuntu-latest
name: Create the documentation
steps:
- uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v1
with:
node-version: "14.x"
- name: Install build dependencies
run: npm install
- name: Build documentation
run: npm run docs:build