mirror of
https://github.com/BewlyBewly/BewlyBewly.git
synced 2025-04-14 13:15:29 +00:00
Merge branch 'dev' into refactor-message-listeners
This commit is contained in:
17
.github/workflows/build.yml
vendored
17
.github/workflows/build.yml
vendored
@@ -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
|
||||
|
||||
2
.github/workflows/changelog.yml
vendored
2
.github/workflows/changelog.yml
vendored
@@ -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}]'
|
||||
|
||||
12
.github/workflows/release.yml
vendored
12
.github/workflows/release.yml
vendored
@@ -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
|
||||
|
||||
25
.github/workflows/sync-dev-firefox.yml
vendored
25
.github/workflows/sync-dev-firefox.yml
vendored
@@ -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
|
||||
Reference in New Issue
Block a user