diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..70ece0d --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,24 @@ +name: Build + +on: + push: + branches: [main] + pull_request: + +jobs: + main: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Setup Deno + uses: ./ + + - run: deno run ./bundle.ts + + - name: Push changes + uses: stefanzweifel/git-auto-commit-action@v5 + with: + file_pattern: "dist/*" + commit_message: "chore: build action bundle" + commit_author: "github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>"