Skip to content

Proceed with other releases #37

Proceed with other releases

Proceed with other releases #37

Workflow file for this run

name: 'test'
on:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
environment:
name: test
steps:
- uses: actions/checkout@v4
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install pnpm
run: npm install -g pnpm
- name: Install dependencies
run: pnpm install
- name: Build extension
run: pnpm run build
- name: Zip the build
run: |
cd build
zip -r ../build.zip .
cd ..
- name: Chrome upload & release
uses: mnao305/[email protected]
continue-on-error: true
with:
file-path: build.zip
extension-id: eggfhkdnfdhdpmkfpihjjbnncgmhihce
client-id: ${{ secrets.CHROME_CLIENT_ID }}
client-secret: ${{ secrets.CHROME_CLIENT_SECRET }}
refresh-token: ${{ secrets.CHROME_REFRESH_TOKEN }}
- name: Firefox upload & release
uses: cardinalby/[email protected]
with:
zipFilePath: build.zip
extensionId: [email protected]
jwtIssuer: ${{ secrets.FF_JWT_ISSUER }}
jwtSecret: ${{ secrets.FF_JWT_SECRET }}
- name: Edge upload & release
uses: wdzeng/[email protected]
with:
product-id: 70d8655d-2c91-4b81-99b1-35afa863ea8c
zip-path: build.zip
client-id: ${{ secrets.EDGE_CLIENT_ID }}
client-secret: ${{ secrets.EDGE_CLIENT_SECRET }}
access-token-url: ${{ secrets.EDGE_ACCESS_TOKEN_URL }}