-
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add manual workflow for building extension
- Loading branch information
1 parent
ccaa7f5
commit 2985634
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: "Build Extension Manually" | ||
|
||
on: workflow_dispatch | ||
|
||
jobs: | ||
chrome-publish: | ||
name: "Build For Manual Testing" | ||
runs-on: "ubuntu-latest" | ||
|
||
steps: | ||
- name: "Checkout Development Branch" | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: main | ||
|
||
- name: "Build and Test" | ||
run: | | ||
cd browser-extension/plugin | ||
ls | ||
pwd | ||
npm install | ||
npm run build | ||
mv dist/ extension-chrome/ | ||
npm run build:firefox | ||
mv dist/ extension-firefox/ | ||
- name: "Upload dist folder as artifact" | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: extension-artifacts | ||
path: | | ||
browser-extension/plugin/extension-firefox/ | ||
browser-extension/plugin/extension-chrome/ |