diff --git a/.github/workflows/publish-any-commit.yml b/.github/workflows/publish-any-commit.yml new file mode 100644 index 0000000..35c8ffd --- /dev/null +++ b/.github/workflows/publish-any-commit.yml @@ -0,0 +1,22 @@ +name: Publish Any Commit +on: [push, pull_request] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + + - name: Set up Bun + uses: oven-sh/setup-bun@v1 + with: + bun-version: latest + + - name: Install dependencies + run: bun install + + - name: Build + run: bun run build + + - run: bunx pkg-pr-new publish