Skip to content

Commit

Permalink
Create extension-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
YunFeng0817 authored Dec 3, 2024
1 parent d1e932b commit 6d0d320
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/extension-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Extension Release

on:
workflow_dispatch:

jobs:
chrome-web-store:
name: Chrome Web Store
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Install Dependencies
run: yarn install --frozen-lockfile
- name: Build Project
run: NODE_OPTIONS='--max-old-space-size=4096' DISABLE_WORKER_INLINING=true yarn turbo run prepublish --filter=@rrweb/web-extension

- uses: mnao305/[email protected]
with:
extension-id: 'pdaldeopoccdhlkabbkcjmecmmoninhe'
file-path: ./packages/web-extension/dist/chrome.zip
client-id: ${{ secrets.CWS_CLIENT_ID }}
client-secret: ${{ secrets.CWS_CLIENT_SECRET }}
refresh-token: ${{ secrets.CWS_REFRESH_TOKEN }}
publish: false

0 comments on commit 6d0d320

Please sign in to comment.