Skip to content

Commit 18e78bf

Browse files
committed
fix(libdweb/ci): network lock and submodule sync
1 parent 3133ad0 commit 18e78bf

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ci/Jenkinsfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ parallel(
6464
bat 'npx [email protected] config set msvs_version 2015 --global'
6565
// run developer build as a smoke-test for windows
6666
// bat 'npm run dev-build'
67-
67+
bat 'npx [email protected] --mutex network --no-lockfile'
6868
bat 'npm run libdweb:build'
6969
bat 'dir /s /b /o:gn build'
7070
}
@@ -94,7 +94,7 @@ parallel(
9494
sh 'rm -rf node_modules/'
9595
// run developer build as a smoke-test
9696
// sh 'npm run dev-build'
97-
97+
sh 'npx [email protected] --mutex network --no-lockfile'
9898
sh 'npm run libdweb:build'
9999
sh 'ls -Rlh build'
100100
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"prepush": "run-s clean build lint test",
4747
"firefox": "web-ext run --browser-console --url about:debugging",
4848
"libdweb": "npx [email protected] && npm run libdweb:build && npm run libdweb:firefox",
49-
"libdweb:build": "git submodule update --init --checkout --depth 1 libdweb && cross-env-shell RELEASE_CHANNEL=libdweb npm run dev-build",
49+
"libdweb:build": "git submodule sync && git submodule init && git submodule update && cross-env-shell RELEASE_CHANNEL=libdweb npm run dev-build",
5050
"libdweb:firefox": "npm run get-firefox-nightly && cross-env MOZ_DISABLE_CONTENT_SANDBOX=1 web-ext run --firefox=./firefox/firefox --browser-console --url about:debugging",
5151
"get-firefox-nightly": "shx test -e ./firefox/firefox || get-firefox -b nightly -e",
5252
"ci": "run-s ci:*",

0 commit comments

Comments
 (0)