100.0.3 #9
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" | |
on: | |
push: | |
tags: | |
- 'v*' | |
jobs: | |
publish-chrome: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js 16.x | |
uses: actions/[email protected] | |
with: | |
node-version: 16.x | |
- name: Cache npm modules | |
uses: actions/cache@v2 | |
with: | |
path: node_modules | |
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-npm- | |
- name: Install dependencies | |
run: npm ci | |
- name: Build Chrome extension | |
run: npm run build:chrome | |
- name: Chrome Platform Publish | |
uses: PlasmoHQ/bpp@v3 | |
with: | |
keys: ${{ secrets.BPP_CHROME_KEYS }} | |
chrome-file: build/chrome-mv3-prod.zip | |
publish-firefox: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js 16.x | |
uses: actions/[email protected] | |
with: | |
node-version: 16.x | |
- name: Cache npm modules | |
uses: actions/cache@v2 | |
with: | |
path: node_modules | |
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-npm- | |
- name: Install dependencies | |
run: npm ci | |
- name: Build Firefox extension | |
run: npm run build:firefox | |
- name: Firefox Platform Publish | |
uses: PlasmoHQ/bpp@v3 | |
with: | |
keys: ${{ secrets.BPP_FIREFOX_KEYS }} | |
firefox-file: build/firefox-mv2-prod.zip |