Skip to content
Open
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
14 changes: 4 additions & 10 deletions .github/workflows/build-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.14.0
- name: Cache node modules
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
node-version: 20.19.6
cache: 'npm'
- run: npm ci
- name: Run build step
run: npm run build
14 changes: 4 additions & 10 deletions .github/workflows/sonarqube-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,13 @@ jobs:
name: SonarCloud
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 20.14.0
- name: Cache node modules
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
node-version: 20.19.6
cache: 'npm'
- run: npm ci
- name: Run test cov
run: npm run test:cov
Expand Down
14 changes: 4 additions & 10 deletions .github/workflows/tests-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,11 @@ jobs:
DEFAULT_ADMIN_USER_PASSWORD: example_admin_pass

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.14.0
- name: Cache node modules
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
node-version: 20.19.6
cache: 'npm'
- run: npm ci
- name: Run unit tests
run: npm test
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -393,3 +393,4 @@ local/
documentation
test-report.xml
tsconfig.build.tsbuildinfo
.nvmrc
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
registry=https://registry.npmjs.org/
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nodejs 20.14.0
nodejs 20.19.6
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Development Dockerfile
FROM node:20.14.0-bookworm-slim
FROM node:20.19.6-bookworm-slim

# Install additional tools for development
RUN apt-get update && apt-get install -y \
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.prod
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Stage 1: Build the application
FROM node:20.14.0-bookworm-slim as builder
FROM node:20.19.6-bookworm-slim as builder

WORKDIR /usr/src/app

Expand All @@ -19,7 +19,7 @@ RUN npm run build
RUN npm prune --production

# Stage 2: Create the production image
FROM node:20.14.0-bookworm-slim
FROM node:20.19.6-bookworm-slim

WORKDIR /usr/src/app

Expand Down
Loading