mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
Merge branch 'upgrade_esbuild' of github.com:gradido/gradido into upgrade_esbuild
This commit is contained in:
commit
f02f291a59
2
.github/workflows/test_admin_interface.yml
vendored
2
.github/workflows/test_admin_interface.yml
vendored
@ -58,7 +58,7 @@ jobs:
|
||||
- name: install dependencies
|
||||
run: |
|
||||
bun install --filter admin --frozen-lockfile
|
||||
bun install --global turbo@^2
|
||||
bun install --global --no-save turbo@^2
|
||||
|
||||
- name: Admin Interface | Unit tests
|
||||
id: test
|
||||
|
||||
8
.github/workflows/test_backend.yml
vendored
8
.github/workflows/test_backend.yml
vendored
@ -56,13 +56,15 @@ jobs:
|
||||
uses: oven-sh/setup-bun@v2
|
||||
|
||||
- name: install dependencies
|
||||
run: bun install --filter backend --frozen-lockfile
|
||||
run: |
|
||||
bun install --filter backend --frozen-lockfile
|
||||
bun install --global --no-save turbo@^2
|
||||
|
||||
- name: Wait for MariaDB to be ready
|
||||
run: until nc -z localhost 3306; do echo waiting for db; sleep 1; done;
|
||||
|
||||
- name: Backend | Unit tests
|
||||
run: bun turbo backend#test
|
||||
run: turbo backend#test
|
||||
|
||||
typecheck:
|
||||
if: needs.files-changed.outputs.backend == 'true'
|
||||
@ -84,7 +86,7 @@ jobs:
|
||||
- name: install dependencies
|
||||
run: |
|
||||
bun install --filter backend --frozen-lockfile
|
||||
bun install --global turbo@^2
|
||||
bun install --global --no-save turbo@^2
|
||||
|
||||
- name: Backend | Typecheck
|
||||
run: turbo backend#typecheck backend#build
|
||||
|
||||
2
.github/workflows/test_database.yml
vendored
2
.github/workflows/test_database.yml
vendored
@ -51,7 +51,7 @@ jobs:
|
||||
- name: install dependencies
|
||||
run: |
|
||||
bun install --filter database --frozen-lockfile
|
||||
bun install --global turbo@^2
|
||||
bun install --global --no-save turbo@^2
|
||||
|
||||
- name: Wait for MariaDB to be ready
|
||||
run: docker run --rm --network gradido_internal-net busybox sh -c 'until nc -z mariadb 3306; do echo waiting for db; sleep 1; done;'
|
||||
|
||||
2
.github/workflows/test_dht_node.yml
vendored
2
.github/workflows/test_dht_node.yml
vendored
@ -57,7 +57,7 @@ jobs:
|
||||
- name: install dependencies
|
||||
run: |
|
||||
bun install --filter dht-node --frozen-lockfile
|
||||
bun install --global turbo@^2
|
||||
bun install --global --no-save turbo@^2
|
||||
|
||||
- name: Wait for MariaDB to be ready
|
||||
run: until nc -z localhost 3306; do echo waiting for db; sleep 1; done;
|
||||
|
||||
2
.github/workflows/test_federation.yml
vendored
2
.github/workflows/test_federation.yml
vendored
@ -57,7 +57,7 @@ jobs:
|
||||
- name: install dependencies
|
||||
run: |
|
||||
bun install --filter federation --frozen-lockfile
|
||||
bun install --global turbo@^2
|
||||
bun install --global --no-save turbo@^2
|
||||
|
||||
- name: Wait for MariaDB to be ready
|
||||
run: until nc -z localhost 3306; do echo waiting for db; sleep 1; done;
|
||||
|
||||
2
.github/workflows/test_frontend.yml
vendored
2
.github/workflows/test_frontend.yml
vendored
@ -81,7 +81,7 @@ jobs:
|
||||
- name: install dependencies
|
||||
run: |
|
||||
bun install --filter frontend --frozen-lockfile
|
||||
bun install --global turbo@^2
|
||||
bun install --global --no-save turbo@^2
|
||||
|
||||
- name: Frontend | Lint
|
||||
id: lint
|
||||
|
||||
@ -22,7 +22,8 @@ let encryptionWorkerPool: Pool | undefined
|
||||
if (CONFIG.USE_CRYPTO_WORKER === true) {
|
||||
encryptionWorkerPool = pool(
|
||||
path.join(__dirname, '..', 'build', 'password', 'EncryptionWorker.js'),
|
||||
{ maxQueueSize: 30 * cpus().length })
|
||||
{ maxQueueSize: 30 * cpus().length },
|
||||
)
|
||||
}
|
||||
|
||||
// We will reuse this for changePassword
|
||||
@ -69,7 +70,6 @@ export const SecretKeyCryptographyCreateKey = async (
|
||||
// pool is throwing this error
|
||||
// throw new Error('Max queue size of ' + this.maxQueueSize + ' reached');
|
||||
// will be shown in frontend to user
|
||||
console.log(JSON.stringify(e, null, 2))
|
||||
throw new LogError('Server is full, please try again in 10 minutes.', e)
|
||||
}
|
||||
}
|
||||
|
||||
@ -18,4 +18,3 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user