From 40966c340b30e722e10aa05858890ead777799bc Mon Sep 17 00:00:00 2001 From: Luca Favini Date: Sun, 3 Mar 2024 13:19:10 +0100 Subject: [PATCH] repo: update CI/CD scripts --- .github/workflows/lint.yml | 3 +-- .github/workflows/version.yml | 9 +++------ Dockerfile | 2 +- 3 files changed, 5 insertions(+), 9 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 53a97e0..b06296b 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -15,8 +15,7 @@ jobs: uses: actions/checkout@v3 - name: Setup node uses: actions/setup-node@v3 - with: - node-version: '19.x' + with: node-version: 20 - name: Lint run: | cd frontend diff --git a/.github/workflows/version.yml b/.github/workflows/version.yml index 1f837d2..548a53c 100644 --- a/.github/workflows/version.yml +++ b/.github/workflows/version.yml @@ -13,16 +13,14 @@ jobs: uses: actions/checkout@v1 - name: Setup .NET Core SDK uses: actions/setup-dotnet@v2 - with: - dotnet-version: '5.0.x' + with: dotnet-version: '5.0.x' - name: Setup git run: | git config user.email "$(git log -1 --pretty=format:%ae)" git config user.name "$(git log -1 --pretty=format:%an)" - name: Install GitVersion uses: gittools/actions/gitversion/setup@v0.9.13 - with: - versionSpec: '5.x' + with: versionSpec: '5.x' - name: Determine Version id: execute uses: gittools/actions/gitversion/execute@v0.9.13 @@ -38,8 +36,7 @@ jobs: uses: actions/checkout@v3 - name: Setup node uses: actions/setup-node@v3 - with: - node-version: 19 + with: node-version: 20 - name: Setup git run: | git config user.email "$(git log -1 --pretty=format:%ae)" diff --git a/Dockerfile b/Dockerfile index 93f9b3f..3a9ce2b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:18-alpine +FROM node:20-alpine WORKDIR /app