flashkillapp / flashkill

Browser extension enriching the 99Damage league pages with usefull information.
MIT License
5 stars 2 forks source link

Setup automation #10

Open timonla opened 4 years ago

timonla commented 4 years ago

Github actions:

https://www.npmjs.com/package/web-ext-submit https://www.npmjs.com/package/webstore-upload

timonla commented 2 years ago

We should use this for chrome: https://www.npmjs.com/package/chrome-webstore-upload-cli

They actually recommend to look at the faceit-enhancer setup 🙃 https://github.com/faceit-enhancer/faceit-enhancer/blob/main/.github/workflows/release.yml

I created the EXTENSION_ID and CLIENT_ID secrets. Apparently the CLIENT_SECRET should be left empty? For the refresh token google has to approve something. 🤷 Will look at it again another day.

Here is a comment on how to update the manifest id with the package.json version: https://blog.rocketinsights.com/chrome-extension-cd/

timonla commented 2 years ago

Could be interesting for automatically updating the package.json and manifest.json versions: https://aboutbits.it/blog/2021-03-11-using-github-actions-to-perfom-npm-version-increment