Introduce monorepo to manage packages using pnpm
(#880)
#8
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: Publish Yorkie Devtools Extension | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- 'main' | |
paths: | |
- packages/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: 'pnpm' | |
- name: Install and Build 🔧 | |
run: | | |
cd packages/devtools | |
pnpm install | |
pnpm build | |
- name: Deploy 🚀 | |
uses: PlasmoHQ/bpp@v3 | |
with: | |
keys: ${{ secrets.BPP_KEYS }} | |
chrome-file: 'packages/devtools/dist/chrome-mv3-prod.zip' |