Submit to Web Store #7
Workflow file for this run
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
name: 'Submit to Web Store' | |
#Documentation for secrets: https://github.com/PlasmoHQ/bms/blob/main/tokens.md | |
on: | |
workflow_dispatch: | |
jobs: | |
main: | |
name: Build and publish | |
runs-on: ubuntu-latest | |
steps: | |
- 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: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: 'pnpm' | |
- 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 }} | |
chrome-artifact: build/chrome-mv3-prod.zip | |
firefox-artifact: build/firefox-mv3-prod.zip |