diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 9138740..c48fc83 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -20,10 +20,10 @@ jobs: matrix: php: - "8.4" - node: - - "22" product-version: - "~4.6.x-dev" + node: + - "22" include: - php: "7.3" product-version: "~3.3.x-dev" diff --git a/php/Dockerfile-node12 b/php/Dockerfile-node12 index 9bbfcd4..e4e2156 100644 --- a/php/Dockerfile-node12 +++ b/php/Dockerfile-node12 @@ -11,6 +11,8 @@ RUN apt-get update -y \ && node -v \ && npm -v \ \ - && npm install -g yarn@1.22.19 \ + && npm install -g yarn@1.22.22 \ + \ + && yarn -v \ \ && rm -rf /var/lib/apt/lists/* diff --git a/php/Dockerfile-node14 b/php/Dockerfile-node14 index 05daca6..e5ca2c2 100644 --- a/php/Dockerfile-node14 +++ b/php/Dockerfile-node14 @@ -3,12 +3,16 @@ FROM ibexa_php:latest # Install Node.js and Yarn RUN apt-get update -y \ && apt-get install -y --no-install-recommends \ - ca-certificates curl gnupg xz-utils \ + ca-certificates curl xz-utils \ \ && curl -fsSL https://nodejs.org/dist/v14.21.3/node-v14.21.3-linux-x64.tar.xz \ | tar -xJ -C /usr/local --strip-components=1 \ \ - && corepack enable \ - && corepack prepare yarn@1.22.22 --activate \ + && node -v \ + && npm -v \ + \ + && npm install -g yarn@1.22.22 \ + \ + && yarn -v \ \ && rm -rf /var/lib/apt/lists/* diff --git a/php/Dockerfile-node16 b/php/Dockerfile-node16 index dd005ad..a11485d 100644 --- a/php/Dockerfile-node16 +++ b/php/Dockerfile-node16 @@ -3,14 +3,16 @@ FROM ibexa_php:latest # Install Node.js and Yarn RUN apt-get update -y \ && apt-get install -y --no-install-recommends \ - ca-certificates curl gnupg \ + ca-certificates curl \ \ && curl -fsSL https://deb.nodesource.com/setup_16.x | bash - \ && apt-get install -y nodejs \ \ + && node -v \ + && npm -v \ + \ && npm install -g yarn@1.22.22 \ \ - && node -v \ && yarn -v \ \ && rm -rf /var/lib/apt/lists/* diff --git a/php/Dockerfile-node18 b/php/Dockerfile-node18 index 70a9633..33c39c8 100644 --- a/php/Dockerfile-node18 +++ b/php/Dockerfile-node18 @@ -3,12 +3,16 @@ FROM ibexa_php:latest # Install Node.js and Yarn RUN apt-get update -y \ && apt-get install -y --no-install-recommends \ - ca-certificates curl gnupg \ + ca-certificates curl \ \ && curl -fsSL https://deb.nodesource.com/setup_18.x | bash - \ && apt-get install -y nodejs \ \ - && corepack enable \ - && corepack prepare yarn@stable --activate \ + && node -v \ + && npm -v \ + \ + && npm install -g yarn@1.22.22 \ + \ + && yarn -v \ \ && rm -rf /var/lib/apt/lists/*