From 811a067678b9f8451be1d72c13cf0e1897034e86 Mon Sep 17 00:00:00 2001 From: multipleof4 Date: Tue, 10 Mar 2026 17:59:51 -0700 Subject: [PATCH] Feat: Add workflow to build and push dist --- .github/workflows/build.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..14ae879 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,24 @@ +name: Build Extensions +on: + workflow_dispatch: +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - uses: oven-sh/setup-bun@v2 + with: + bun-version: latest + + - run: bun install + + - run: bun run build + + - name: Commit and push dist + run: | + git config user.name "github-actions[bot]" + git config user.email "github-actions[bot]@users.noreply.github.com" + git add dist/ -f + git diff --cached --quiet || git commit -m "build: firefox + chrome extensions" + git push