Merge branch 'master' into fix/buffer-in-backend-js
This commit is contained in:
commit
204ce8f2b7
|
@ -164,7 +164,7 @@ jobs:
|
||||||
|
|
||||||
- name: Pull testcontainers images
|
- name: Pull testcontainers images
|
||||||
run: |
|
run: |
|
||||||
docker pull mcr.microsoft.com/mssql/server:2022-latest &
|
docker pull mcr.microsoft.com/mssql/server:2022-CU13-ubuntu-22.04 &
|
||||||
docker pull mysql:8.3 &
|
docker pull mysql:8.3 &
|
||||||
docker pull postgres:16.1-bullseye &
|
docker pull postgres:16.1-bullseye &
|
||||||
docker pull mongo:7.0-jammy &
|
docker pull mongo:7.0-jammy &
|
||||||
|
|
13
nx.json
13
nx.json
|
@ -10,7 +10,18 @@
|
||||||
},
|
},
|
||||||
"targetDefaults": {
|
"targetDefaults": {
|
||||||
"build": {
|
"build": {
|
||||||
"inputs": ["{workspaceRoot}/scripts/*", "{workspaceRoot}/lerna.json"]
|
"inputs": [
|
||||||
|
"{workspaceRoot}/scripts/*",
|
||||||
|
"{workspaceRoot}/lerna.json",
|
||||||
|
"{workspaceRoot}/.github/workflows/*"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"test": {
|
||||||
|
"inputs": [
|
||||||
|
"{workspaceRoot}/scripts/*",
|
||||||
|
"{workspaceRoot}/lerna.json",
|
||||||
|
"{workspaceRoot}/.github/workflows/*"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"namedInputs": {
|
"namedInputs": {
|
||||||
|
|
|
@ -9,7 +9,9 @@ let ports: Promise<testContainerUtils.Port[]>
|
||||||
export async function getDatasource(): Promise<Datasource> {
|
export async function getDatasource(): Promise<Datasource> {
|
||||||
if (!ports) {
|
if (!ports) {
|
||||||
ports = startContainer(
|
ports = startContainer(
|
||||||
new GenericContainer("mcr.microsoft.com/mssql/server:2022-latest")
|
new GenericContainer(
|
||||||
|
"mcr.microsoft.com/mssql/server:2022-CU13-ubuntu-22.04"
|
||||||
|
)
|
||||||
.withExposedPorts(1433)
|
.withExposedPorts(1433)
|
||||||
.withEnvironment({
|
.withEnvironment({
|
||||||
ACCEPT_EULA: "Y",
|
ACCEPT_EULA: "Y",
|
||||||
|
|
Loading…
Reference in New Issue