Remove unused premission to comply with chrome web store policies #4
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: Publish | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: 20 | |
- name: Install dependencies | |
run: npm install | |
- name: Build the extension | |
run: npm run build:chrome | |
- name: Put the extension into a zip file | |
run: zip -r release.zip dist/chrome | |
- name: Upload to Chrome Web Store | |
uses: mobilefirstllc/cws-publish@latest | |
with: | |
action: 'upload' | |
client_id: ${{ secrets.CLIENT }} | |
client_secret: ${{ secrets.SECRET }} | |
refresh_token: ${{ secrets.TOKEN }} | |
extension_id: ${{ secrets.EXTENSION_ID }} | |
zip_file: 'release.zip' |