-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add version to merge manifests util * Add deploy workflow * Add release-it lib
- Loading branch information
1 parent
56eb518
commit 4c6d2ae
Showing
8 changed files
with
3,556 additions
and
144 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,50 @@ | ||
name: Deploy to stores | ||
|
||
on: | ||
pull_request: # TODO: remove | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
name: Build artifacts | ||
environment: firefox-addon | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
cache: 'npm' | ||
- run: npm ci | ||
- run: npm run bundle | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: extension-zips | ||
path: dist/*.zip | ||
|
||
# deploy_firefox: | ||
# name: Deploy firefox addon | ||
# needs: [build] | ||
# environment: firefox-addon | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - name: Publish | ||
# uses: PlasmoHQ/bpp@v3 | ||
# with: | ||
# artifact: dist/firefox.zip | ||
# keys: ${{ secrets.KEYS }} | ||
|
||
deploy_chrome: | ||
name: Deploy chrome extension | ||
needs: [build] | ||
environment: chrome-extension | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/download-artifact@v3 | ||
- run: ls | ||
- run: ls dist | ||
# - name: Publish | ||
# uses: PlasmoHQ/bpp@v3 | ||
# with: | ||
# artifact: dist/chrome.zip | ||
# keys: ${{ secrets.KEYS }} |
Oops, something went wrong.