-
-
Notifications
You must be signed in to change notification settings - Fork 24
47 lines (38 loc) · 1.15 KB
/
release-ext.yml
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
46
47
name: Release Chrome Extension
on: [workflow_dispatch]
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: pnpm/action-setup@v2.2.4
- name: Setup Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 18
cache: pnpm
- name: Install Dependencies
run: pnpm install --ignore-scripts
- name: Cache turbo build setup
uses: actions/cache@v3
with:
path: node_modules/.cache/turbo
key: turbo-${{ github.sha }}
restore-keys: |
turbo-
- name: Build
run: pnpm build
env:
CI: true
- name: Upload & release Extension
uses: mnao305/chrome-extension-upload@v4.0.1
with:
file-path: packages/extension/dist.zip
extension-id: kmcfjchnmmaeeagadbhoofajiopoceel
client-id: ${{ secrets.CLIENT_ID }}
client-secret: ${{ secrets.CLIENT_SECRET }}
refresh-token: ${{ secrets.REFRESH_TOKEN }}