-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9dee2d9
commit fe36ff7
Showing
7 changed files
with
341 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: 'Submit to Web Store' | ||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Cache pnpm modules | ||
uses: actions/cache@v3 | ||
with: | ||
path: ~/.pnpm-store | ||
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }} | ||
restore-keys: | | ||
${{ runner.os }}- | ||
- uses: pnpm/action-setup@v2.2.4 | ||
with: | ||
version: latest | ||
run_install: true | ||
- name: Use Node.js 16.x | ||
uses: actions/setup-node@v3.4.1 | ||
with: | ||
node-version: 16.x | ||
cache: 'pnpm' | ||
- name: Build the extension | ||
run: pnpm build:plugin | ||
- name: Package the extension into a zip artifact | ||
run: pnpm zip | ||
- name: Browser Platform Publish | ||
uses: PlasmoHQ/bpp@v3 | ||
with: | ||
keys: ${{ secrets.SUBMIT_KEYS }} | ||
artifact: build/chrome-mv3-prod.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,4 @@ | |
/src/.umi-test | ||
/dist | ||
.swc | ||
/build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,42 @@ | ||
/* | ||
* @Module: module.name | ||
* @Description: your description | ||
* @Author: draco | ||
* @Email: draco.coder@gmail.com | ||
* @Github: https://github.com/draco-china | ||
* @Date: 2023-06-29 15:31:30 | ||
* @LastEditTime: 2023-06-29 15:31:30 | ||
*/ | ||
export default { | ||
autoInstall: {}, | ||
alias: { | ||
apple: 'raphael:apple', | ||
loading: 'icon-park-solid:loading-three', | ||
windows: 'fa:windows', | ||
'action-center': 'local:action-center', | ||
full: 'local:full', | ||
'exit-full': 'local:exit-full', | ||
loading: 'local:loading-three', | ||
switch: 'local:action-center', | ||
apple: 'simple-icons:apple', | ||
bing: 'simple-icons:microsoftbing', | ||
google: 'simple-icons:google', | ||
baidu: 'simple-icons:baidu', | ||
yahoo: 'simple-icons:yahoo', | ||
wikipedia: 'simple-icons:wikipedia', | ||
qwant: 'simple-icons:quora', | ||
windows: 'mdi:microsoft-windows', | ||
system: 'local:system', | ||
light: 'line-md:moon-alt-to-sunny-outline-loop-transition', | ||
dark: 'line-md:moon-alt-loop', | ||
check: 'ic:baseline-check', | ||
light: 'mdi:white-balance-sunny', | ||
dark: 'mdi:weather-night', | ||
check: 'mdi:check', | ||
close: 'mdi:window-close', | ||
minus: 'mdi:window-minimize', | ||
}, | ||
include: [ | ||
'local:bing', | ||
'local:google', | ||
'local:baidu', | ||
'local:yahoo', | ||
'local:wikipedia', | ||
'local:qwant', | ||
'fa:windows', | ||
'local:action-center', | ||
'simple-icons:apple', | ||
'simple-icons:microsoftbing', | ||
'simple-icons:google', | ||
'simple-icons:baidu', | ||
'simple-icons:yahoo', | ||
'simple-icons:wikipedia', | ||
'simple-icons:quora', | ||
'mdi:microsoft-windows', | ||
'mdi:white-balance-sunny', | ||
'mdi:weather-night', | ||
'mdi:check', | ||
'mdi:window-close', | ||
'mdi:window-minimize', | ||
'local:system', | ||
'line-md:moon-alt-to-sunny-outline-loop-transition', | ||
'line-md:moon-alt-loop', | ||
'ic:baseline-check', | ||
'local:action-center', | ||
'local:full', | ||
'local:exit-full', | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.