Compare commits

...

3 Commits

Author SHA1 Message Date
Federico Brigante
2bf8f12880
Meta: Drop unrelated workflow (#322) 2024-07-15 17:22:33 +07:00
Federico Brigante
780f5df2e3
Meta: Include source in Firefox Addons uploads (#320) 2024-07-15 14:37:43 +07:00
Federico Brigante
227656079a
Meta: Drop Parcel MV3 workaround (#319) 2024-07-15 14:35:23 +07:00
5 changed files with 7944 additions and 462 deletions

View File

@ -1,20 +0,0 @@
env:
SCRIPT_NAME: build
# FILE GENERATED WITH: npx ghat fregante/ghatemplates/is-dist-up-to-date
# SOURCE: https://github.com/fregante/ghatemplates
name: Verify Built Files
on:
- pull_request
- push
jobs:
Verify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: install
run: npm ci || npm install
- run: npm run ${{ env.SCRIPT_NAME }}
- name: verify that built files are up to date
run: git diff --exit-code

View File

@ -64,12 +64,10 @@ jobs:
environment: Firefox
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
# Drop after https://github.com/parcel-bundler/parcel/issues/9458
- run: npx dot-json@1 manifest.json background.scripts '["background.js"]' --json-value
working-directory: artifact
- run: npx web-ext@8 sign --channel listed
- run: git archive --output source.zip HEAD ":!test" ":!.github" && unzip -l source.zip
- run: npx web-ext@8 sign --channel listed --upload-source-code ../source.zip
working-directory: artifact
env:
WEB_EXT_API_KEY: ${{ secrets.WEB_EXT_API_KEY }}

8369
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -36,10 +36,10 @@
},
"devDependencies": {
"@codemirror/view": "^6.28.2",
"@parcel/config-webextension": "^2.12.0",
"@parcel/config-webextension": "^2.12.1-canary.3290",
"@types/chrome": "^0.0.268",
"dot-json": "^1.3.0",
"parcel": "^2.12.0",
"parcel": "^2.0.0-canary.1665",
"xo": "^0.58.0"
},
"engines": {

View File

@ -80,7 +80,10 @@
],
"background": {
"type": "module",
"service_worker": "background.js"
"service_worker": "background.js",
"scripts": [
"background.js"
]
},
"web_accessible_resources": [
{