generated from tachibana-shin/vitesse-webext
-
Notifications
You must be signed in to change notification settings - Fork 2
46 lines (39 loc) · 1009 Bytes
/
release-all.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
40
41
42
43
44
45
46
name: Release all
on:
push:
tags:
- v*.*.*
paths:
- "package.json"
jobs:
build-and-release:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2.3.1
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 21
- uses: pnpm/action-setup@v2.0.1
name: Install pnpm
id: pnpm-install
with:
version: 8
run_install: false
- name: Pack
run: |
pnpm i --no-frozen-lockfile
pnpm run pack
- name: Generate changelog
id: changelog
uses: metcalfc/changelog-generator@v4.0.1
with:
myToken: ${{ secrets.GITHUB_TOKEN }}
- name: Release
uses: softprops/action-gh-release@v0.1.14
with:
files: |
manifest-v2/mv2-extension.*
manifest-v3/mv3-extension.*
body: ${{ steps.changelog.outputs.changelog }}