-
Notifications
You must be signed in to change notification settings - Fork 3
39 lines (32 loc) · 924 Bytes
/
release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: release
on:
push:
branches:
- master
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@master
with:
node-version: '20'
- run: npm install -g pnpm
- run: pnpm i
- run: |
npm install -g \
semantic-release \
@semantic-release/github \
@semantic-release/git \
@semantic-release/exec \
@semantic-release/changelog \
@semantic-release/npm \
semantic-release-chrome \
semantic-release-firefox-add-on \
aggregate-error
- run: semantic-release
env:
GH_TOKEN: ${{ secrets.PAT }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
FIREFOX_API_KEY: ${{ secrets.FIREFOX_API_KEY }}
FIREFOX_SECRET_KEY: ${{ secrets.FIREFOX_SECRET_KEY }}