Skip to content

Publish Yorkie Devtools Extension #2

Publish Yorkie Devtools Extension

Publish Yorkie Devtools Extension #2

name: Publish Yorkie Devtools Extension
on:
workflow_dispatch:
push:
branches:
- 'main'
paths:
- tools/devtools/**
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/[email protected]
- name: Setup Node 🔧
uses: actions/setup-node@v2
with:
node-version: '18'
cache: 'npm'
cache-dependency-path: package-lock.json
- name: Install and Build 🔧
run: |
cd tools/devtools
npm install
npm run build
- name: Deploy 🚀
uses: PlasmoHQ/bpp@v3
with:
keys: ${{ secrets.BPP_KEYS }}
chrome-file: 'tools/devtools/dist/chrome-mv3-prod.zip'