From 0efd4818dfa7179f854accbc8b9d52a182e27f01 Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Sat, 23 Sep 2023 12:04:58 +0200 Subject: [PATCH] Update to node 20.7 --- .github/workflows/ci.yml | 2 +- .github/workflows/deploy-preview.yml | 2 +- .github/workflows/publish-release.yml | 2 +- Dockerfile | 2 +- docker-compose.yml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c112dac0..8182ad3a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,5 +11,5 @@ jobs: ci: uses: shlinkio/github-actions/.github/workflows/web-app-ci.yml@main with: - node-version: 20.5 + node-version: 20.7 publish-coverage: true diff --git a/.github/workflows/deploy-preview.yml b/.github/workflows/deploy-preview.yml index 3e5ef986..ba6d7068 100644 --- a/.github/workflows/deploy-preview.yml +++ b/.github/workflows/deploy-preview.yml @@ -16,7 +16,7 @@ jobs: - name: Use node.js uses: actions/setup-node@v3 with: - node-version: 20.5 + node-version: 20.7 - name: Build run: | npm ci && \ diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index d28c30a7..b0e4201a 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -14,7 +14,7 @@ jobs: - name: Use node.js uses: actions/setup-node@v3 with: - node-version: 20.5 + node-version: 20.7 - name: Generate release assets run: npm ci && VERSION=${GITHUB_REF#refs/tags/v} npm run build:dist - name: Publish release with assets diff --git a/Dockerfile b/Dockerfile index 16549357..91842ba2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:20.5-alpine as node +FROM node:20.7-alpine as node COPY . /shlink-web-client ARG VERSION="latest" ENV VERSION ${VERSION} diff --git a/docker-compose.yml b/docker-compose.yml index 07ed7220..25798fbd 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,7 +3,7 @@ version: '3' services: shlink_web_client_node: container_name: shlink_web_client_node - image: node:20.5-alpine + image: node:20.7-alpine command: /bin/sh -c "cd /home/shlink/www && npm install && npm run start" volumes: - ./:/home/shlink/www