Submit to Web Store #5
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" | |
on: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Node.js | |
uses: actions/[email protected] | |
with: | |
node-version: "20.x" | |
cache: "yarn" | |
- name: Cache yarn modules | |
uses: actions/cache@v3 | |
with: | |
path: "**/node_modules" | |
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: | | |
${{ runner.os }}-yarn- | |
- name: Install dependencies | |
run: yarn install | |
- name: Build the extension | |
run: yarn build | |
- name: Package the extension into a zip artifact | |
run: yarn package | |
- name: Browser Platform Publish | |
uses: PlasmoHQ/bpp@v3 | |
with: | |
keys: ${{ secrets.SUBMIT_KEYS_STAGING }} | |
artifact: build/chrome-mv3-prod.zip |