Merge branch 'dev' into refactor-message-listeners

This commit is contained in:
Hakadao
2024-04-11 16:57:44 +08:00
parent 38b9dfe227
commit 1a3bafb284
43 changed files with 784 additions and 145 deletions

View File

@@ -7,6 +7,14 @@ on:
# 项目源代码所在的分支
- main
- dev
paths-ignore:
# Changes involving the following path files will not trigger the workflow
# 涉及以下路径文件的更改不会触发工作流
- LICENSE
- README-cmn_CN.md
- README-cmn_TW.md
- README-jyut.md
- '.github/**'
jobs:
lint:
@@ -46,3 +54,12 @@ jobs:
with:
name: BewlyBewly Zip
path: extension
- name: Build Extension
run: pnpm build-firefox
- name: Upload Zip
uses: actions/upload-artifact@v3
with:
name: BewlyBewly Zip
path: extension-firefox

View File

@@ -19,6 +19,6 @@ jobs:
token: ${{ secrets.RELEASE_TOKEN }}
release-type: node
package-name: release-please-action
release-as: 0.15.5
release-as: 0.16.1
signoff: 'github-actions <41898282+github-actions[bot]@users.noreply.github.com>'
changelog-types: '[{"type":"types","section":"Types","hidden":false},{"type":"revert","section":"Reverts","hidden":false},{"type":"feat","section":"Features","hidden":false},{"type":"fix","section":"Bug Fixes","hidden":false},{"type":"improvement","section":"Feature Improvements","hidden":false},{"type":"docs","section":"Docs","hidden":false},{"type":"i18n","section":"I18n","hidden":true},{"type":"style","section":"Style Changes","hidden":false},{"type":"ci","section":"CI","hidden":false},{"type":"chore","section":"Miscellaneous","hidden":true},{"type":"contributor","section":"New Contributors","hidden":false},{"type":"notice","section":"Notices","hidden":false}]'

View File

@@ -36,15 +36,21 @@ jobs:
run: pnpm install
- name: Build
run: pnpm build
run: |
pnpm build
pnpm build-firefox
- name: Build Extension
run: pnpm pack:zip
run: |
pnpm pack:zip
pnpm pack:zip-firefox
- name: Upload assets to a Release
uses: meeDamian/github-release@v2.0.3
with:
files: extension.zip
files: |
extension.zip
extension-firefox.zip
token: ${{ secrets.RELEASE_TOKEN }}
allow_override: true
gzip: false

View File

@@ -1,25 +0,0 @@
name: Sync Back to Dev Firefox
on:
push:
branches:
- dev
jobs:
sync-branches:
if: github.repository == 'hakadao/BewlyBewly'
runs-on: ubuntu-latest
name: Syncing branches
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Node
uses: actions/setup-node@v1
with:
node-version: 12
- name: Opening pull request
id: pull
uses: tretuna/sync-branches@1.4.0
with:
GITHUB_TOKEN: ${{secrets.SYNC_TOKEN}}
FROM_BRANCH: dev
TO_BRANCH: dev-firefox