Merge pull request #2166 from ever-co/develop #18
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: 'Extensions Build & Publish Prod' | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- '.deploy/extensions/**' | |
- '.github/workflows/extensions.prod.yml' | |
- 'apps/extensions/**' | |
- 'package.json' | |
- 'yarn.lock' | |
concurrency: | |
group: ${{ github.ref }}-${{ github.workflow }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js 18.x | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18' | |
cache: 'yarn' | |
- name: Install Packages | |
run: | | |
cd apps/extensions && yarn install --frozen-lockfile | |
- name: Build and zip extension artifact | |
run: cd apps/extensions && yarn build -- --zip | |
# | |
# - name: Browser Platform Publish | |
# uses: PlasmoHQ/bpp@v2 | |
# with: | |
# keys: ${{ secrets.SUBMIT_KEYS }} | |
# artifact: build/chrome-mv3-prod.zip |