Skip to content

Commit 8119910

Browse files
committed
🔄 ci: Fix build CI
1 parent 47448e5 commit 8119910

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: automerge
1+
name: Build & Dev CI
22
on: [push, pull_request]
33

44
jobs:
@@ -13,7 +13,6 @@ jobs:
1313
- name: Setup Python virtual environment
1414
run: uv venv .venv --seed ; echo $(ls -la)
1515

16-
- uses: actions/checkout@v4
1716
- uses: actions/setup-node@v4
1817
with:
1918
node-version: "22.x"

.github/workflows/test-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: test-ci
1+
name: Tests CI
22
on: push
33

44
jobs:

package.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,23 @@
88
"src"
99
],
1010
"scripts": {
11-
"pretest": "echo 'Make sure to be in dev mode (npm run dev)'",
12-
"test": "node --import ./register.mjs ./node_modules/.bin/mocha test/test-*.js",
11+
"pretest": "npm run dev'",
12+
"test": "node --import ./register.mjs ./node_modules/.bin/mocha test/test-*.js --exit",
1313
"pretest-ci": "npm run dev",
1414
"test-ci": "node --import ./register.mjs ./node_modules/.bin/mocha test/test-*.js --exclude test/test-storage.js --exclude test/test-duplicates.js --exclude test/test-sync.js --exit",
1515
"pretest-storage": "npm run dev",
1616
"test-storage": "node --import ./register.mjs ./node_modules/.bin/mocha test/test-storage.js --exit",
17-
"pretest-cov": "echo 'Make sure to be in dev mode (npm run dev)'",
17+
"pretest-cov": "npm run dev'",
1818
"test-cov": "node --import ./register.mjs ./node_modules/.bin/nyc --reporter=text ./node_modules/.bin/mocha test/test-*.js",
1919
"dev": "rollup -c",
2020
"dev:watch": "rollup -c -w",
2121
"build": "NODE_ENV=production rollup -c",
2222
"predev:ff": "./.venv/bin/python scripts/release-mv2-mv3.py --to-firefox",
2323
"dev:ff": "web-ext run --url 'about:debugging#/runtime/this-firefox' --firefox=deved -p dev-edition-default",
24-
"postdev:ff": "python scripts/release-mv2-mv3.py --from-firefox"
24+
"postdev:ff": "python scripts/release-mv2-mv3.py --from-firefox",
25+
"prebuild:ff": "./.venv/bin/python scripts/release-mv2-mv3.py --to-firefox",
26+
"build:ff": "npm run build && web-ext build",
27+
"postbuild:ff": "python scripts/release-mv2-mv3.py --from-firefox"
2528
},
2629
"repository": {
2730
"type": "git",

0 commit comments

Comments
 (0)