Skip to content

Merge pull request #180 from SensCritique/release/1.5.2 #58

Merge pull request #180 from SensCritique/release/1.5.2

Merge pull request #180 from SensCritique/release/1.5.2 #58

name: Deploy new chrome release
on:
push:
branches: master
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.7.0]
steps:
- name: Checkout repository
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- name: Install dependencies
run: npm install
- name: Build
run: NODE_OPTIONS=--openssl-legacy-provider npx webpack --mode=production --env=production --config=webpack_chrome.config.js
- uses: trmcnvn/chrome-addon@v2
with:
extension: enficnaijgnbdbdcpbplmbnhoenehllk
zip: "releases/latest_chrome.zip"
client-id: ${{ secrets.CHROME_CLIENT_ID }}
client-secret: ${{ secrets.CHROME_CLIENT_SECRET }}
refresh-token: ${{ secrets.CHROME_REFRESH_TOKEN }}