-
Notifications
You must be signed in to change notification settings - Fork 7
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
Showing
2 changed files
with
23 additions
and
20 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 |
---|---|---|
@@ -1,34 +1,37 @@ | ||
name: 'Submit to Web Store' | ||
|
||
#Documentation for secrets: https://github.com/PlasmoHQ/bms/blob/main/tokens.md | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
main: | ||
name: Build and publish | ||
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/[email protected] | ||
- name: Check out Git repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up pNPM | ||
uses: pnpm/action-setup@v3 | ||
with: | ||
version: latest | ||
run_install: true | ||
- name: Use Node.js 16.x | ||
uses: actions/[email protected] | ||
|
||
- name: Set up Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16.x | ||
node-version: 18 | ||
cache: 'pnpm' | ||
- name: Build extension | ||
run: pnpm build | ||
- name: Zip extension artifact | ||
run: pnpm package | ||
- name: Browser Platform Publish | ||
|
||
- name: Build and package extension | ||
run: pnpm build --target=chrome-mv3 --zip && pnpm build --target=firefox-mv3 --zip | ||
|
||
- name: Publish extension | ||
uses: PlasmoHQ/bpp@v3 | ||
with: | ||
keys: ${{ secrets.SUBMIT_KEYS }} | ||
artifact: build/chrome-mv3-prod.zip | ||
chrome-artifact: build/chrome-mv3-prod.zip | ||
firefox-artifact: build/firefox-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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"name": "sk.edge", | ||
"displayName": "sk.edge", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "your registration assistant by students, for students", | ||
"author": "Nebula Labs", | ||
"packageManager": "[email protected]", | ||
|