-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1b07dff
commit 23931db
Showing
1 changed file
with
25 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,25 @@ | ||
name: Build & Publish Extension | ||
|
||
on: | ||
push: | ||
branches: ["main"] | ||
|
||
jobs: | ||
build-retool-embedder: | ||
name: Build Chrome extension artifact | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Build | ||
run: |- | ||
npm ci | ||
npm run build | ||
zip -r retool-embedder-${{ github.event.head_commit.id }}.zip build | ||
- name: Archive retool-embedder Artifact | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: retool-embedder-${{ github.sha }} | ||
path: retool-embedder-${{ github.event.head_commit.id }}.zip |