diff --git a/.github/workflows/test-build.yml b/.github/workflows/test-build.yml new file mode 100644 index 0000000..5b527e2 --- /dev/null +++ b/.github/workflows/test-build.yml @@ -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