chore(ci): Add GH Action workflow (#16)

This commit is contained in:
Eric Tuvesson
2023-09-20 09:49:36 +02:00
committed by GitHub
parent 89b9042b0d
commit 7cdf8a6ed0

28
.github/workflows/test-build.yml vendored Normal file
View File

@@ -0,0 +1,28 @@
# This GitHub Action workflow is made to make sure that we are able to build the documentation site.
# The build will fail if links etc. are incorrectly linked.
name: Test build
on:
push:
branches:
main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup node env 🏗
uses: actions/setup-node@v2
with:
node-version: 16
- name: Install dependencies 🏗
run: npm install
- name: Build noodl
run: npm run build