Skip to content

Commit

Permalink
Create package-chrome-extension.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rennerdo30 committed Jun 2, 2024
1 parent 23f0743 commit b53cc82
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/package-chrome-extension.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Package Chrome Extension

on:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '14'

- name: Install dependencies
run: npm install

- name: Run build script
run: npm run build

- name: Create ZIP file
run: zip -r chrome-extension.zip manifest.json background.js content.js icons/

- name: Upload ZIP file as artifact
uses: actions/upload-artifact@v2
with:
name: chrome-extension
path: chrome-extension.zip

0 comments on commit b53cc82

Please sign in to comment.