Skip to content

Merge branch 'inbo:main' into main #16

Merge branch 'inbo:main' into main

Merge branch 'inbo:main' into main #16

name: Run tests and deploy to GitHub pages if successful
on:
push:
branches:
- main
jobs:
run-unit-tests:
runs-on: ubuntu-20.04
steps:
- name: Checkout 🛎️
uses: actions/[email protected]
- name: Setup Node 🔧
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install and run unit tests 🔧
run: |
npm install --force
npm run test:unit
deploy-gh-pages:
needs: run-unit-tests
runs-on: ubuntu-20.04
steps:
- name: Checkout 🛎️
uses: actions/[email protected]
- name: Setup Node 🔧
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install and build 🔧
run: |
npm install --force
npm run build
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: docs