From c8bca49c9bc53707d1ffb5a670f976d187bbb3e9 Mon Sep 17 00:00:00 2001 From: Pihkaal Date: Sun, 31 May 2026 23:30:46 +0200 Subject: [PATCH] feat: build workflow --- .gitea/workflows/build.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .gitea/workflows/build.yml diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml new file mode 100644 index 0000000..71f4802 --- /dev/null +++ b/.gitea/workflows/build.yml @@ -0,0 +1,33 @@ +name: Build + +on: + push: + branches: [main] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - uses: pnpm/action-setup@v4 + with: + version: latest + + - uses: actions/setup-node@v4 + with: + node-version: 20 + cache: pnpm + + - run: pnpm install --frozen-lockfile + + - run: pnpm build + env: + WOV_API_KEY: ${{ secrets.WOV_API_KEY }} + + - run: zip -r extension.zip dist/ src/popup.html src/popup.css manifest.json + + - uses: actions/upload-artifact@v4 + with: + name: extension + path: extension.zip