mirror of
https://github.com/noodlapp/noodl-docs.git
synced 2026-01-10 14:22:52 +01:00
chore(ci): Add GH Action workflow (#16)
This commit is contained in:
28
.github/workflows/test-build.yml
vendored
Normal file
28
.github/workflows/test-build.yml
vendored
Normal 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
|
||||
Reference in New Issue
Block a user