From 0a8f333698ac0a53598fc5cf136f79e0a0ca4b68 Mon Sep 17 00:00:00 2001 From: Brendan Chen Date: Thu, 19 Mar 2026 10:40:35 -0700 Subject: [PATCH] Add a release workflow --- .github/workflows/release.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..83f5082 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,33 @@ +name: Release + +on: + push: + tags: + - "[0-9]+.[0-9]+.[0-9]+" + +permissions: + contents: write + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-node@v4 + with: + node-version: "22" + + - name: Install dependencies + run: npm ci + + - name: Build plugin + run: npm run build + + - name: Create release + uses: softprops/action-gh-release@v2 + with: + files: | + main.js + manifest.json + styles.css