Skip to content

Commit

Permalink
add ci release packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonKhorev committed Nov 29, 2023
1 parent 60c2496 commit 168bf42
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Release

on:
release:
types: [created]

permissions:
contents: write

jobs:
build:
name: Build unsigned browser extension
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20.x
cache: 'npm'
- run: npm ci
- name: Build browser extension files
run: npm run build
- name: Create an extension package
run: npx web-ext build -s dist
- name: Add the package to the release
run: gh release upload ${{github.event.release.tag_name}} web-ext-artifacts

0 comments on commit 168bf42

Please sign in to comment.