Removed host_permissions tab and bumped to v0.9.2 #13
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: Update Chrome Extension | |
on: | |
push: | |
tags: | |
- v*.*.* | |
jobs: | |
build-chrome-extension: | |
name: Build Chrome extension artifact | |
runs-on: ubuntu-latest | |
env: | |
# you can optionally specify extension ID here, we do this so that | |
# all of our environments (dev, staging, prod) have a consistent ID | |
# we can reference. Otherwise the extension ID is autogenerated. | |
EXTENSION_ID: pbgkhemojiabmajgkcgjelgpnpoddcgl | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup node | |
uses: actions/setup-node@v4 | |
- name: Build | |
run: |- | |
npm ci | |
npm run build | |
- name: Archive | |
run: |- | |
# fill in your build steps here... | |
# we archive the dist folder and include SHA commit as the last step | |
zip -r dist.zip dist | |
- name: Upload & release | |
uses: mnao305/chrome-extension-upload@v5.0.0 | |
with: | |
file-path: dist.zip | |
extension-id: ${{ env.EXTENSION_ID }} | |
client-id: ${{ secrets.CI_GOOGLE_CLIENT_ID }} | |
client-secret: ${{ secrets.CI_GOOGLE_CLIENT_SECRET }} | |
refresh-token: ${{ secrets.CI_GOOGLE_REFRESH_TOKEN }} | |
publish: false |