Skip to content

Commit 73dd4c9

Browse files
authored
Enhance build process and manifest.json handling
Updated build process to treat warnings as errors and modified manifest.json handling.
1 parent 0ba36fb commit 73dd4c9

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/mv3.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,9 @@ jobs:
5757
5858
- name: Build
5959
run: |
60-
jq ".version |= \"$VERSION\" | del(.browser_specific_settings.gecko.update_url) | del(.background.scripts)" manifest.json > manifest.json.tmp && mv manifest.json.tmp manifest.json
61-
web-ext lint --self-hosted
60+
jq ".version |= \"$VERSION\" | del(.browser_specific_settings.gecko.update_url)" manifest.json > manifest.json.tmp && mv manifest.json.tmp manifest.json
61+
web-ext lint --self-hosted --warnings-as-errors
62+
jq "del(.background.scripts)" manifest.json > manifest.json.tmp && mv manifest.json.tmp manifest.json
6263
web-ext build
6364
6465
- name: Create pre-release

0 commit comments

Comments
 (0)