Skip to content

Fix zip generation to be compatible with Chrome marketplace #4

Fix zip generation to be compatible with Chrome marketplace

Fix zip generation to be compatible with Chrome marketplace #4

Workflow file for this run

name: Release
on:
push:
branches:
- main
jobs:
build-chrome-extension:
name: Build Chrome extension artifact
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Build
run: |
npm i
npm run build
- name: Create zip
run: |
cd dist
zip -r chrome-extension-${{ github.event.pull_request.head.sha }}.zip *
- name: Archive chrome-extension artifact
uses: actions/upload-artifact@v2
with:
name: chrome-extension-${{ github.sha }}
path: dist/chrome-extension-${{ github.event.pull_request.head.sha }}.zip