# 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 jobs: build: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v3 - name: Setup node env 🏗 uses: actions/setup-node@v3 with: node-version: 18 - name: Install dependencies 🏗 run: npm install - name: Build noodl-docs run: npm run build - if: github.ref == 'refs/heads/main' uses: actions/upload-artifact@v3 with: name: noodl-docs path: build/