diff --git a/.github/workflows/test-build.yml b/.github/workflows/test-build.yml index 9e9c0ec..29840f8 100644 --- a/.github/workflows/test-build.yml +++ b/.github/workflows/test-build.yml @@ -14,12 +14,18 @@ jobs: uses: actions/checkout@v3 - name: Setup node env 🏗 - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version: 16 - name: Install dependencies 🏗 run: npm install - - name: Build noodl + - 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/