Support Firefox development #8
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: Publish Chrome store | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- "src/**" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: 22 | |
- name: Install dependencies | |
run: npm install | |
- name: Create dist folder | |
run: npm run build:chrome | |
- uses: vimtor/[email protected] | |
with: | |
files: dist/ | |
recursive: true | |
dest: release-chrome.zip | |
- name: Upload to Chrome Web Store | |
uses: mobilefirstllc/cws-publish@latest | |
with: | |
action: 'upload' | |
client_id: ${{ secrets.CLIENT_ID }} | |
client_secret: ${{ secrets.CLIENT_SECRET }} | |
refresh_token: ${{ secrets.REFRESH_TOKEN }} | |
extension_id: ${{ secrets.EXTENSION_ID }} | |
zip_file: 'release-chrome.zip' |