Skip to content

Commit 281d076

Browse files
ci(NODE-6359): specify build-from-source once (#203)
1 parent 9854213 commit 281d076

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

.evergreen/config.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ functions:
6868
PROJECT_DIRECTORY: ${PROJECT_DIRECTORY}
6969
PROJECT: ${project}
7070
GYP_DEFINES: ${GYP_DEFINES|}
71-
NPM_OPTIONS: ${NPM_OPTIONS|}
7271
args:
7372
- run
7473
- '--interactive'
@@ -80,8 +79,6 @@ functions:
8079
- PROJECT_DIRECTORY=/app
8180
- '--env'
8281
- GYP_DEFINES
83-
- '--env'
84-
- NPM_OPTIONS
8582
- 'ubuntu:22.04'
8683
- /bin/bash
8784
- /app/.evergreen/run-tests-ubuntu.sh
@@ -125,7 +122,6 @@ tasks:
125122
- func: run tests ubuntu
126123
vars:
127124
GYP_DEFINES: kerberos_use_rtld=false
128-
NPM_OPTIONS: --build-from-source
129125
- name: run-prebuild
130126
commands:
131127
- func: install dependencies

.evergreen/install-dependencies.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,5 +104,5 @@ fi
104104
echo "npm location: $(which npm)"
105105
echo "npm version: $(npm -v)"
106106

107-
npm install "${NPM_OPTIONS}" --build-from-source
107+
npm install --build-from-source
108108
ldd build/*/kerberos.node || true

0 commit comments

Comments
 (0)