Skip to content

Commit 10b827d

Browse files
committed
Commit package-lock.json for Python tests’ remote schema server
1 parent 8cdf618 commit 10b827d

File tree

4 files changed

+1439
-5
lines changed

4 files changed

+1439
-5
lines changed

.circleci/test-server.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -191,9 +191,7 @@ pip3 install -r requirements.txt
191191
# node js deps
192192
curl -sL https://deb.nodesource.com/setup_8.x | bash -
193193
apt-get install -y nodejs
194-
npm_config_loglevel=error npm install $PYTEST_ROOT/remote_schemas/nodejs/
195-
196-
npm install apollo-server graphql
194+
(cd remote_schemas/nodejs && npm_config_loglevel=error npm ci)
197195

198196
mkdir -p "$OUTPUT_FOLDER/hpc"
199197

server/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ cabal new-run -- test:graphql-engine-tests \
146146
3. Install the dependencies for the Node server used by the remote schema tests:
147147

148148
```
149-
(cd tests-py/remote_schemas/nodejs && npm install)
149+
(cd tests-py/remote_schemas/nodejs && npm ci)
150150
```
151151

152152
4. Start an instance of `graphql-engine` for the test suite to use:
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
node_modules/
22
*.zip
3-
package-lock.json

0 commit comments

Comments
 (0)