diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index f4cbc3e..a9d6b89 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -1,4 +1,4 @@ -name: PR Checks +name: PR Checks and Build on: push: @@ -23,3 +23,10 @@ jobs: - run: npm ci - run: npm run build - run: npm run gen-schemas + - if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} + run: npm run pack + - if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} + uses: actions/upload-artifact@v4 + with: + name: dist zip + path: dist.zip