Skip to content

Commit 7e62d4a

Browse files
committed
Add Web Worker install/Webpack scripts to CI workflow.
1 parent a37b780 commit 7e62d4a

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ jobs:
2929
run: npm install --no-package-lock
3030
- name: Run All Validations
3131
run: npm run ci
32+
- name: Install Dependencies for Web Worker
33+
run: npm run webworker-install
34+
- name: Run Webpack for Web Worker
35+
run: npm run webworker
3236

3337
install-global:
3438
runs-on: ubuntu-latest

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"test-watch": "git ls-files | entr npm run test",
4545
"update-snapshots": "ava --timeout=1m --update-snapshots test/markdownlint-cli2-test-exec.js test/markdownlint-cli2-test-fs.js test/markdownlint-cli2-test-main.js",
4646
"webworker": "cd webworker && webpack --mode none",
47-
"webworker-install": "npm install --no-save path-browserify process setimmediate stream-browserify url util webpack-cli && cpy ./node_modules/setimmediate/setImmediate.js ./webworker --flat"
47+
"webworker-install": "npm install --no-package-lock --no-save path-browserify process setimmediate stream-browserify url util webpack-cli && cpy ./node_modules/setimmediate/setImmediate.js ./webworker --flat"
4848
},
4949
"engines": {
5050
"node": ">=18"

0 commit comments

Comments
 (0)