-
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.
Merge pull request #11 from JessFairbairn:context
Context
- Loading branch information
Showing
13 changed files
with
189 additions
and
33 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,46 @@ | ||
name: Deploy | ||
|
||
on: | ||
release: | ||
types: [prereleased] | ||
|
||
jobs: | ||
Deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 #Checkout Repo | ||
- name: Install | ||
run: | | ||
npm install | ||
mkdir external | ||
cp node_modules/webextension-polyfill/dist/browser-polyfill.min.js external/browser-polyfill.min.js | ||
- name: Web-ext build | ||
id: web-ext-build | ||
uses: kewisch/action-web-ext@v1 | ||
with: | ||
cmd: build | ||
|
||
- name: Web-ext sign | ||
id: web-ext-sign | ||
uses: kewisch/action-web-ext@v1 | ||
with: | ||
cmd: sign | ||
channel: listed | ||
source: ${{ steps.web-ext-build.outputs.target }} | ||
sourceCode: sources.zip | ||
|
||
# Specify API secrets. | ||
apiKey: ${{ secrets.JWT_ISSUER }} | ||
apiSecret: ${{ secrets.JWT_SECRET }} | ||
|
||
# Send it to dev server, for now | ||
apiUrlPrefix: "https://addons-dev.allizom.org/api/v5/" | ||
|
||
releaseNotes: ${{github.event.release.body}} | ||
|
||
- name: "Attach release assets to release" | ||
env: | ||
GH_TOKEN: ${{ github.token }} | ||
run: | | ||
gh release upload ${{ github.event.release.tag_name }} \ | ||
${{ steps.web-ext-sign.outputs.target }} |
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
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 |
---|---|---|
|
@@ -4,3 +4,4 @@ node_modules | |
|
||
external | ||
vscode-firefox-debug.log | ||
coverage |
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
call npm install --save=false | ||
mkdir external | ||
copy node_modules/webextension-polyfill/dist/browser-polyfill.min.js external/browser-polyfill.min.js | ||
copy node_modules\webextension-polyfill\dist\browser-polyfill.min.js external\browser-polyfill.min.js | ||
web-ext build --overwrite-dest |
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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
#!/bin/bash | ||
Check warning on line 1 in build.sh
|
||
npm install | ||
mkdir external | ||
cp node_modules/webextension-polyfill/dist/browser-polyfill.min.js external/browser-polyfill.min.js | ||
web-ext build --overwrite-dest |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{ | ||
"name": "tab_kraken", | ||
"scripts": { | ||
"test": "karma start karma.config.js" | ||
}, | ||
|
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
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
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
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
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