impersonator-extension
impersonator-extension copied to clipboard
feat: firefox add-on compatibility
This PR:
- adds development scripts to run the extension in Chrome and Firefox
- adds the browser-specific data to manifest.json for Firefox compatibility
- adds a workflow to automatically build, sign and publish a new version of the add-on (on firefox) when creating a new GitHub release
- adds development documentation
[!IMPORTANT]
The first version has to be published manually.
yarn install
yarn build
- Make an archive of the source code so they can review the extension if needed:
git archive --output source.zip HEAD -- ":!.github"
web-ext build --source-dir build
, this should create a zip file under./web-ext-artifacts
.- Use the previously generated file to submit the add-on in the first step as on Listing on AMO
[!NOTE] Once the add-on is published, the following secrets need to be added to the repo:
- WEB_EXT_API_KEY
- WEB_EXT_API_SECRET
closes #6