Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
22.14
24.13
2 changes: 1 addition & 1 deletion packages/apps/fortune/exchange-oracle/client/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Using bullseye instead of slim because it needs Python and build tools for node-gyp
FROM node:22.14-bullseye
FROM node:24.13-bullseye
ARG APP_PATH=packages/apps/fortune/exchange-oracle/client

# Create app directory
Expand Down
2 changes: 1 addition & 1 deletion packages/apps/fortune/exchange-oracle/server/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:22.14-slim
FROM node:24.13-slim
ARG APP_PATH=packages/apps/fortune/exchange-oracle/server

# Create app directory
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,9 @@ describe('SignatureAuthGuard', () => {

const result = await guard.canActivate(context);
expect(result).toBeTruthy();
expect(assignmentRepository.findOneById).toHaveBeenCalledWith(assignmentId);
expect(assignmentRepository.findOneById).toHaveBeenCalledWith(
assignmentId,
);
});

it('should throw BadRequest error if assignment id is not number', async () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,10 @@ export class SignatureAuthGuard implements CanActivate {

if (roles.includes(AuthSignatureRole.Worker)) {
if (!Number.isInteger(Number(data.assignment_id))) {
throw new HttpException('Invalid assignment id', HttpStatus.BAD_REQUEST);
throw new HttpException(
'Invalid assignment id',
HttpStatus.BAD_REQUEST,
);
}

const assignment = await this.assignmentRepository.findOneById(
Expand Down
2 changes: 1 addition & 1 deletion packages/apps/fortune/recording-oracle/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:22.14-slim
FROM node:24.13-slim
ARG APP_PATH=packages/apps/fortune/recording-oracle

# Create app directory
Expand Down
2 changes: 1 addition & 1 deletion packages/apps/human-app/frontend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Using bullseye instead of slim because it needs Python and build tools for node-gyp
FROM node:22.14-bullseye
FROM node:24.13-bullseye
ARG APP_PATH=packages/apps/human-app/frontend

# Create app directory
Expand Down
2 changes: 1 addition & 1 deletion packages/apps/human-app/server/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:22.14-slim
FROM node:24.13-slim
ARG APP_PATH=packages/apps/human-app/server

# Create app directory
Expand Down
2 changes: 1 addition & 1 deletion packages/apps/job-launcher/client/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Using bullseye instead of slim because it needs Python and build tools for node-gyp
FROM node:22.14-bullseye
FROM node:24.13-bullseye
ARG APP_PATH=packages/apps/job-launcher/client

# Create app directory
Expand Down
2 changes: 1 addition & 1 deletion packages/apps/job-launcher/server/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:22.14-slim
FROM node:24.13-slim
ARG APP_PATH=packages/apps/job-launcher/server

# Create app directory
Expand Down
2 changes: 1 addition & 1 deletion packages/apps/reputation-oracle/server/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:22.14-slim
FROM node:24.13-slim
ARG APP_PATH=packages/apps/reputation-oracle/server

# Create app directory
Expand Down
2 changes: 1 addition & 1 deletion packages/core/Dockerfile.local
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:22.14-slim
FROM node:24.13-slim
ARG APP_PATH=packages/core

# curl is needed for healthcheck
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# TODO: make this shared and part of local setup
FROM node:22.14-slim
FROM node:24.13-slim

# curl is needed for healthcheck
RUN apt-get update && apt-get install -y curl
Expand Down
Loading