-
Notifications
You must be signed in to change notification settings - Fork 1
45 lines (38 loc) · 1.19 KB
/
browser.yml
File metadata and controls
45 lines (38 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: "browser"
on:
push:
branches:
- main
paths:
- "apps/browser/**"
- "packages/server/**"
jobs:
deploy:
runs-on: ubuntu-latest
environment: deploy-browser
defaults:
run:
working-directory: ./apps/browser
env:
CLERK_FRONTEND_API: ${{ secrets.CLERK_FRONTEND_API }}
PLASMO_PUBLIC_CLERK_SYNC_HOST: ${{ secrets.PLASMO_PUBLIC_CLERK_SYNC_HOST }}
steps:
- name: 💾 Checkout code
uses: actions/checkout@v4
- name: 📦 Setup bun
uses: oven-sh/setup-bun@v2
- name: 📦 Install dependencies
run: bun ci
- name: 🛠️ Build the Chrome Extension
run: bun run build
- name: 🛠️ Package the extension into a zip artifact
run: bun run package
- name: 🚀 Upload to Chrome Web Store
uses: mobilefirstllc/cws-publish@latest
with:
action: "upload" # one of: upload, publish, testers
client_id: ${{ secrets.CLIENT }}
client_secret: ${{ secrets.SECRET }}
refresh_token: ${{ secrets.TOKEN }}
extension_id: "bbhdnidgcmmpihfimomooiaojnaeedlj"
zip_file: "./apps/browser/build/chrome-mv3-prod.zip"