Skip to content

feat(ci): adding publish workflow to pack extension into a crx file #6

feat(ci): adding publish workflow to pack extension into a crx file

feat(ci): adding publish workflow to pack extension into a crx file #6

Workflow file for this run

name: Publish Workflow
on:
push:
branches:
- main
jobs:
build:
uses: ./.github/workflows/build.yml
with:
publish: true
publish:
needs: build
runs-on: ubuntu-latest
steps:
- name: Download Artifact
uses: actions/download-artifact@v2
with:
name: dist
path: dist/
- name: Install Node.js
uses: actions/setup-node@v1
with:
node-version: 16
- name: Install npm crx
run: npm install -g crx
- name: Create Extension
run: crx pack dist/
- name: Publish Extension
uses: actions/upload-artifact@v2
with:
name: sync-video-rtc
path: sync-video-rtc.crx