Add signing on push of tags
This commit is contained in:
parent
cedc378fdf
commit
ac6dde4919
25
.github/workflows/sign.yml
vendored
Normal file
25
.github/workflows/sign.yml
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
name: Sign
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- '*' # Push events to every tag not containing /
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 18.x
|
||||
cache: 'npm'
|
||||
- run: npm install
|
||||
- run: npm run lint
|
||||
- run: npm run sign:ff
|
||||
env:
|
||||
WEB_EXT_API_KEY: ${{ secrets.JWT_ISSUER }}
|
||||
WEB_EXT_API_SECRET: ${{ secrets.JWT_SECRET }}
|
||||
|
||||
|
||||
|
@ -5,6 +5,7 @@
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"build:ff": "web-ext build --ignore-files *.gif --overwrite-dest",
|
||||
"sign:ff": "web-ext sign",
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"lint": "eslint src/**/*.js && web-ext lint",
|
||||
"lint_fix": "eslint --fix src/**/*.js"
|
||||
|
Loading…
Reference in New Issue
Block a user