Skip to content

Commit

Permalink
[ci] Use npm ci on Windows too, #3982
Browse files Browse the repository at this point in the history
With new npm version git dependencies are handled correctly.
  • Loading branch information
charlag authored and sarashub committed Apr 5, 2022
1 parent 0a26b0b commit 449df1f
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions Desktop.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,7 @@ pipeline {
label 'win-native'
}
steps {

// FIXME this is a workaround for https://github.com/tutao/tutanota/issues/3982
// The hash generated by npm on windows is different to the one
// So we just don't install with npm ci
bat 'del package-lock.json'
bat "npm install"
bat "npm ci"

bat "node buildSrc\\nativeLibraryProvider.js keytar --force-rebuild --root-dir ${WORKSPACE}"
bat "node buildSrc\\nativeLibraryProvider.js better-sqlite3 --copy-target better_sqlite3 --force-rebuild --root-dir ${WORKSPACE}"
Expand Down

0 comments on commit 449df1f

Please sign in to comment.