From 763912b366b04c662ec4bf90989c21ea0073a940 Mon Sep 17 00:00:00 2001 From: Ilya Stepenko <38462532+VampireAotD@users.noreply.github.com> Date: Sun, 29 Sep 2024 17:08:10 +0300 Subject: [PATCH] Updated workflows --- .env.example | 1 + .github/workflows/frontend-tests.yml | 2 +- .github/workflows/lint.yml | 2 +- README.md | 1 + compose.yml | 2 +- docker/php/Dockerfile | 4 ++-- 6 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.env.example b/.env.example index 82aaad20..00740e7c 100644 --- a/.env.example +++ b/.env.example @@ -11,5 +11,6 @@ DB_USER= DB_PASSWORD= DB_ROOT_PASSWORD= +REDIS_VERSION=7.4 REDIS_PORT=6379 REDIS_PASSWORD= diff --git a/.github/workflows/frontend-tests.yml b/.github/workflows/frontend-tests.yml index 771d9ba2..4d67deab 100644 --- a/.github/workflows/frontend-tests.yml +++ b/.github/workflows/frontend-tests.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: node-version: [ 20.x ] - pnpm-version: [ 9.7 ] + pnpm-version: [ 9.11 ] steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index c2f82016..053be81b 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: node-version: [ 20.x ] - pnpm-version: [ 9.7 ] + pnpm-version: [ 9.11 ] steps: - uses: actions/checkout@v4 diff --git a/README.md b/README.md index ec28200d..3d1d4b26 100644 --- a/README.md +++ b/README.md @@ -60,6 +60,7 @@ This variables will be located in project root `.env` file and are required for | `DB_USER` | (empty) | The username for the database connection. | | `DB_PASSWORD` | (empty) | The password for the database connection. | | `DB_ROOT_PASSWORD` | (empty) | The root password for the database connection. | +| `REDIS_VERSION` | 7.4 | Specifies Redis version. | | `REDIS_PORT` | 6379 | Specifies the port for the Redis connection. | | `REDIS_PASSWORD` | (empty) | The password for the Redis connection. | diff --git a/compose.yml b/compose.yml index 746d0032..478547f3 100644 --- a/compose.yml +++ b/compose.yml @@ -37,7 +37,7 @@ services: - local redis: - image: redis:latest + image: redis:${REDIS_VERSION} container_name: anilibrary-redis command: redis-server --requirepass ${REDIS_PASSWORD} healthcheck: diff --git a/docker/php/Dockerfile b/docker/php/Dockerfile index 7c01e432..59598ec8 100644 --- a/docker/php/Dockerfile +++ b/docker/php/Dockerfile @@ -1,8 +1,8 @@ # syntax=docker/dockerfile:1 ARG PHP_VERSION=8.3 -ARG COMPOSER_VERSION=2.7.7 -ARG NODE_VERSION=20.16 +ARG COMPOSER_VERSION=2.7.9 +ARG NODE_VERSION=20.17 ARG PNPM_VERSION=9.11.0 FROM node:${NODE_VERSION}-alpine AS node