GLA-69: CI release workflow to build and attach zip#25
Conversation
GLA-69 CI: GitHub Action to build and attach zip on release
OverviewWhen a GitHub Release is published, a CI workflow automatically runs Workflow File
name: Release
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- name: Install dependencies
run: npm ci
- name: Build & zip
run: npx wxt build && npx wxt zip
- name: Upload zip to release
uses: softprops/action-gh-release@v2
with:
files: .output/*.zipThe workflow triggers only on Release Asset NameWXT names the zip README NoteThe Install section in the README should reference the Releases page and point users to the
Acceptance Criteria
|
Summary
Validation