Skip to content

v2.1.0

v2.1.0 #47

Workflow file for this run

name: Publish
on:
push:
tags:
- 'v*'
workflow_dispatch:
jobs:
build:
name: Publish webextension
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
name: Setup pnpm
with:
version: 8.15.0
run_install: false
- uses: actions/setup-node@v4
name: Setup Node.js
with:
node-version: 20.x
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm build
- name: Make zip file
run: zip -r ./build.zip ./dist
shell: bash
- name: Upload & release
uses: mnao305/[email protected]
with:
file-path: ./build.zip
extension-id: 'ogldncimhepjdfadhjjhkchknloncnmg'
client-id: ${{ secrets.CLIENT_ID }}
client-secret: ${{ secrets.CLIENT_SECRET }}
refresh-token: ${{ secrets.REFRESH_TOKEN }}