Skip to content

Commit

Permalink
upgrade Node.js and PNPM (#2931)
Browse files Browse the repository at this point in the history
  • Loading branch information
tvikito authored Nov 29, 2023
2 parents bfb77aa + d739201 commit dbf3986
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,14 @@ test:standards-with-graphql-schema-check:
test:storefront-standards-with-codegen:
stage: test
<<: *only-default
image: node:18.15.0-alpine
image: node:20-alpine3.17
tags:
- tests
needs:
- build-storefront
before_script:
- corepack enable
- corepack prepare --activate pnpm@8.6.0
- corepack prepare --activate pnpm@8.10.5
- pnpm config set store-dir .pnpm-store
- apk add --no-cache grep
- cp ./app/schema.graphql ./storefront/schema.graphql
Expand Down
4 changes: 2 additions & 2 deletions storefront/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM node:18.15.0-alpine AS base
FROM node:20-alpine3.17 AS base

RUN corepack enable
RUN corepack prepare --activate pnpm@8.6.7
RUN corepack prepare --activate pnpm@8.10.5

FROM base as dependencies

Expand Down
4 changes: 2 additions & 2 deletions storefront/docker/ci.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM node:18.15.0-alpine as development
FROM node:20-alpine3.17 as development

RUN corepack enable
RUN corepack prepare --activate pnpm@8.6.7
RUN corepack prepare --activate pnpm@8.10.5

ARG APP_DIR=/home/node/app
WORKDIR $APP_DIR
Expand Down
4 changes: 2 additions & 2 deletions storefront/docker/dev.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM node:18.15.0-alpine as development
FROM node:20-alpine3.17 as development

RUN corepack enable
RUN corepack prepare --activate pnpm@8.6.7
RUN corepack prepare --activate pnpm@8.10.5

ARG HOME_DIR=/home/node
ARG APP_DIR=$HOME_DIR/app
Expand Down

0 comments on commit dbf3986

Please sign in to comment.