Skip to content

Commit

Permalink
Add pipeline to build dist files
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Fernandes committed Jan 8, 2024
1 parent c5f4d4d commit b554e00
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
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: |-
zip -r chrome-extension-${{ github.event.pull_request.head.sha }}.zip dist
- name: Archive chrome-extension artifact
uses: actions/upload-artifact@v2
with:
name: chrome-extension-${{ github.sha }}
path: chrome-extension-${{ github.event.pull_request.head.sha }}.zip

0 comments on commit b554e00

Please sign in to comment.