replace travis with GitHub Actions close #626 (#629)

added GitHub Actions to documentation
This commit is contained in:
Leon Kiefer authored and GitHub committed 2020-06-12 18:44:34 -05:00
1 parent 1e10783a28
commit 95a3f8e0b6
8 files changed
+121 -93

No files matched your search

+34
View File
@@ -0,0 +1,34 @@
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 vuepress
run: npm install -g vuepress
- name: Build documentation
run: npm run docs:build