Skip to content

Remove unused premission to comply with chrome web store policies #4

Remove unused premission to comply with chrome web store policies

Remove unused premission to comply with chrome web store policies #4

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'