Skip to content

Commit a5e47d3

Browse files
authored
Setup AMO auto deploy (OctoLinker#493)
* Customize Codecov and set target to 70% * Setup AMO auto deploy
1 parent 5a104cf commit a5e47d3

File tree

3 files changed

+662
-102
lines changed

3 files changed

+662
-102
lines changed

codecov.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ coverage:
1010
threshold: 3
1111
target: 50%
1212

13-
comment: off
13+
comment: off

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@
1313
"test:watch": "jest --watch",
1414
"version": "json -I -f assets/manifest.json -e \"this.version='`json -f package.json version`'\" && git add assets/manifest.json",
1515
"package": "yarn build && web-ext build --source-dir dist --artifacts-dir out --overwrite-dest",
16-
"release": "webstore upload --source dist --auto-publish",
16+
"release:cws": "cd dist && webstore upload --auto-publish",
17+
"release:amo": "cd dist && webext submit",
18+
"release": "npm run release:cws && npm run release:amo",
1719
"build": "webpack --mode=production",
1820
"watch": "webpack --watch --mode=development",
1921
"chrome-open": "yarn build && yarn chrome-launch --",
@@ -56,6 +58,7 @@
5658
"sinon": "^4.0.1",
5759
"style-loader": "^0.19.0",
5860
"web-ext": "^2.0.0",
61+
"webext": "1.9.1-with-submit.1",
5962
"webextension-polyfill": "^0.2.1",
6063
"webpack": "^4.0.1",
6164
"webpack-cli": "^2.0.9"

0 commit comments

Comments
 (0)