Skip to content

Publish Prod to Chrome Store #11

Publish Prod to Chrome Store

Publish Prod to Chrome Store #11

Workflow file for this run

name: Publish Prod to Chrome Store
on:
release:
types: [published]
jobs:
lintandpublish:
name: Publish Prod
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install modules
run: npm install
- name: Lint
run: npm run lint
- name: Build Package
run: npm run prod
- name: Chrome extension upload action
uses: mnao305/chrome-extension-upload@v4.0.1
with:
file-path: build/*.zip
extension-id: ${{ secrets.CHROMESTORE_PROD_ID }}
client-id: ${{ secrets.CHROMESTORE_CLIENT_ID }}
client-secret: ${{ secrets.CHROMESTORE_CLIENT_SECRET }}
refresh-token: ${{ secrets.CHROMESTORE_REFRESH_TOKEN }}
publish: false
glob: true