Skip to content

Commit

Permalink
fix(libdweb/ci): network lock and submodule sync
Browse files Browse the repository at this point in the history
  • Loading branch information
lidel committed Aug 3, 2018
1 parent 3133ad0 commit 18e78bf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ci/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ parallel(
bat 'npx [email protected] config set msvs_version 2015 --global'
// run developer build as a smoke-test for windows
// bat 'npm run dev-build'
bat 'npx [email protected]'
bat 'npx [email protected] --mutex network --no-lockfile'
bat 'npm run libdweb:build'
bat 'dir /s /b /o:gn build'
}
Expand Down Expand Up @@ -94,7 +94,7 @@ parallel(
sh 'rm -rf node_modules/'
// run developer build as a smoke-test
// sh 'npm run dev-build'
sh 'npx [email protected]'
sh 'npx [email protected] --mutex network --no-lockfile'
sh 'npm run libdweb:build'
sh 'ls -Rlh build'
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"prepush": "run-s clean build lint test",
"firefox": "web-ext run --browser-console --url about:debugging",
"libdweb": "npx [email protected] && npm run libdweb:build && npm run libdweb:firefox",
"libdweb:build": "git submodule update --init --checkout --depth 1 libdweb && cross-env-shell RELEASE_CHANNEL=libdweb npm run dev-build",
"libdweb:build": "git submodule sync && git submodule init && git submodule update && cross-env-shell RELEASE_CHANNEL=libdweb npm run dev-build",
"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",
"get-firefox-nightly": "shx test -e ./firefox/firefox || get-firefox -b nightly -e",
"ci": "run-s ci:*",
Expand Down

0 comments on commit 18e78bf

Please sign in to comment.