Skip to content

build: Update Dockerfile.prod for optimized production build process #237

build: Update Dockerfile.prod for optimized production build process

build: Update Dockerfile.prod for optimized production build process #237

Triggered via push August 6, 2024 21:57
Status Failure
Total duration 1m 20s
Artifacts

ci.yml

on: push
Matrix: ESLint
Matrix: Unit tests
Matrix: Prettier format
Fit to window
Zoom out
Zoom in

Annotations

1 error and 15 warnings
Deploy to Production
buildx failed with: ERROR: failed to solve: process "/bin/sh -c npm ci --only=production" did not complete successfully: exit code: 127
ESLint (22.x)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
ESLint (22.x): src/ai.test.ts#L114
'mockMessage' is defined but never used. Allowed unused args must match /^_/u
ESLint (22.x): src/ai.ts#L98
Unexpected any. Specify a different type
ESLint (22.x): src/ai.ts#L130
Unexpected any. Specify a different type
ESLint (22.x): src/config.ts#L11
Unexpected any. Specify a different type
ESLint (22.x): src/config.ts#L16
Unexpected any. Specify a different type
ESLint (22.x): src/config.ts#L21
Unexpected any. Specify a different type
ESLint (22.x): src/config.ts#L27
Unexpected any. Specify a different type
ESLint (22.x): src/config.ts#L32
Unexpected any. Specify a different type
ESLint (22.x): src/config.ts#L38
Unexpected any. Specify a different type
ESLint (22.x): src/handler.test.ts#L17
Unexpected any. Specify a different type
Unit tests (22.x)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Prettier format (22.x)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, stefanzweifel/git-auto-commit-action@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Deploy to Production
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, docker/setup-buildx-action@v2, docker/login-action@v2, docker/build-push-action@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Deploy to Production
Skip setting environment url as environment 'production' may contain secret.