Skip to content

armgit / mimik

Public Imported from GitHub
0

🎬 A browser extension and desktop app that turns your clicks into step-by-step guides with annotated screenshots πŸ“–

ci(extension): drop the store submission workflow

Luis Ortiz01cc8c071c53
diff --git a/.github/workflows/submit.yml b/.github/workflows/submit.yml
deleted file mode 100644
index 221946c..0000000
--- a/.github/workflows/submit.yml
+++ /dev/null
@@ -1,87 +0,0 @@
-name: Submit to Stores
-
-on:
- workflow_dispatch:
- inputs:
- tag:
- description: "Release tag to submit (e.g., v1.0.0)"
- required: true
- type: string
- dryRun:
- description: Dry run (build + zip but skip submission)
- required: false
- default: false
- type: boolean
- targets:
- description: Which stores to submit to
- required: true
- default: chrome-firefox
- type: choice
- options:
- - chrome-firefox
- - chrome
- - firefox
-
-permissions:
- contents: write
-
-jobs:
- submit:
- name: Submit to Stores
- runs-on: ubuntu-latest
- steps:
- - name: Checkout release tag
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- with:
- ref: ${{ inputs.tag }}
- persist-credentials: false
-
- - uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0
-
- - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
- with:
- node-version: "22"
- cache: pnpm
-
- - run: pnpm install --frozen-lockfile
-
- - name: Run tests
- run: pnpm test
-
- - name: Build and zip
- run: pnpm zip:all
-
- - name: Upload zips to GitHub release
- working-directory: apps/extension
- run: |
- gh release upload "$TAG" \
- .output/*-chrome.zip \
- .output/*-firefox.zip \
- .output/*-sources.zip \
- --clobber
- env:
- GH_TOKEN: ${{ github.token }}
- TAG: ${{ inputs.tag }}
-
- - name: Submit to Chrome Web Store
- working-directory: apps/extension
- if: inputs.targets != 'firefox' && !inputs.dryRun
- run: |
- pnpm wxt submit --chrome-zip .output/*-chrome.zip
- env:
- CHROME_EXTENSION_ID: ${{ secrets.CHROME_EXTENSION_ID }}
- CHROME_CLIENT_ID: ${{ secrets.CHROME_CLIENT_ID }}
- CHROME_CLIENT_SECRET: ${{ secrets.CHROME_CLIENT_SECRET }}
- CHROME_REFRESH_TOKEN: ${{ secrets.CHROME_REFRESH_TOKEN }}
-
- - name: Submit to Firefox AMO
- working-directory: apps/extension
- if: inputs.targets != 'chrome' && !inputs.dryRun
- run: |
- pnpm wxt submit \
- --firefox-zip .output/*-firefox.zip \
- --firefox-sources-zip .output/*-sources.zip
- env:
- FIREFOX_EXTENSION_ID: ${{ secrets.FIREFOX_EXTENSION_ID }}
- FIREFOX_JWT_ISSUER: ${{ secrets.FIREFOX_JWT_ISSUER }}
- FIREFOX_JWT_SECRET: ${{ secrets.FIREFOX_JWT_SECRET }}