Skip to content

Commit cae3547

Browse files
authored
integrationTests: pin bun/deno versions (#4454)
Motivation: this protects against any confusion/caching/"does not work on my machine" issues.
1 parent f2890ca commit cae3547

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

integrationTests/dev-bun/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"description": "graphql-js development mode should work with Bun",
33
"private": true,
44
"scripts": {
5-
"test": "docker run --rm --volume \"$PWD:/usr/src/app\" -w /usr/src/app oven/bun:latest bun test.js"
5+
"test": "docker run --rm --volume \"$PWD:/usr/src/app\" -w /usr/src/app oven/bun:1.2.18-slim bun test.js"
66
},
77
"dependencies": {
88
"graphql": "file:../graphql.tgz"

integrationTests/dev-deno/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"description": "graphql-js development mode should work with Deno",
33
"private": true,
44
"scripts": {
5-
"test": "docker run --rm --volume \"$PWD:/usr/src/app\" -w /usr/src/app denoland/deno:latest deno run --allow-env=NODE_ENV test.js"
5+
"test": "docker run --rm --volume \"$PWD:/usr/src/app\" -w /usr/src/app denoland/deno:alpine-2.4.1 deno run --allow-env=NODE_ENV test.js"
66
},
77
"dependencies": {
88
"graphql": "file:../graphql.tgz"

integrationTests/prod-bun/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"description": "graphql-js production mode should work with Bun",
33
"private": true,
44
"scripts": {
5-
"test": "docker run --rm --volume \"$PWD:/usr/src/app\" -w /usr/src/app oven/bun:latest bun --define process.env.NODE_ENV='\"production\"' test.js"
5+
"test": "docker run --rm --volume \"$PWD:/usr/src/app\" -w /usr/src/app oven/bun:1.2.18-slim bun --define process.env.NODE_ENV='\"production\"' test.js"
66
},
77
"dependencies": {
88
"graphql": "file:../graphql.tgz"

integrationTests/prod-deno/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"description": "graphql-js production mode should work with Deno",
33
"private": true,
44
"scripts": {
5-
"test": "docker run --rm --volume \"$PWD:/usr/src/app\" -w /usr/src/app denoland/deno:latest deno run --allow-env --preload env-shim.js test.js"
5+
"test": "docker run --rm --volume \"$PWD:/usr/src/app\" -w /usr/src/app denoland/deno:alpine-2.4.1 deno run --allow-env --preload env-shim.js test.js"
66
},
77
"dependencies": {
88
"graphql": "file:../graphql.tgz"

0 commit comments

Comments
 (0)