Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

Commit

Permalink
fix(ci): pin used node version to 20.5 to avoid build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
kolaente committed Sep 6, 2023
1 parent 0ecda46 commit b187e8c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions .drone.yml
Expand Up @@ -42,7 +42,7 @@ steps:
# - .cache

- name: dependencies
image: node:20-alpine
image: node:20.5-alpine
pull: always
environment:
PNPM_CACHE_FOLDER: .cache/pnpm
Expand All @@ -55,7 +55,7 @@ steps:
# - restore-cache

- name: lint
image: node:20-alpine
image: node:20.5-alpine
pull: always
environment:
PNPM_CACHE_FOLDER: .cache/pnpm
Expand All @@ -66,7 +66,7 @@ steps:
- dependencies

- name: build-prod
image: node:20-alpine
image: node:20.5-alpine
pull: always
environment:
PNPM_CACHE_FOLDER: .cache/pnpm
Expand All @@ -77,7 +77,7 @@ steps:
- dependencies

- name: test-unit
image: node:20-alpine
image: node:20.5-alpine
pull: always
commands:
- corepack enable && pnpm config set store-dir .cache/pnpm
Expand All @@ -87,7 +87,7 @@ steps:

- name: typecheck
failure: ignore
image: node:20-alpine
image: node:20.5-alpine
pull: always
environment:
PNPM_CACHE_FOLDER: .cache/pnpm
Expand Down Expand Up @@ -202,7 +202,7 @@ steps:
# - .cache

- name: build
image: node:20-alpine
image: node:20.5-alpine
pull: always
environment:
PNPM_CACHE_FOLDER: .cache/pnpm
Expand Down Expand Up @@ -285,7 +285,7 @@ steps:
# - .cache

- name: build
image: node:20-alpine
image: node:20.5-alpine
pull: always
environment:
PNPM_CACHE_FOLDER: .cache/pnpm
Expand Down Expand Up @@ -532,6 +532,6 @@ steps:
src/i18n/lang/en.json: en.json
---
kind: signature
hmac: dbb880ba69a4121361a32dca9b7252be30a6929529745e1ba937a0045da7b76f
hmac: c5517d5fc49e327984177144aa195d4418a5769c25deb40f1c211e05735bc863

...
2 changes: 1 addition & 1 deletion Dockerfile
Expand Up @@ -3,7 +3,7 @@
# │─││ │││ │ │
# ┘─┘┘─┘┘┘─┘┘─┘

FROM --platform=$BUILDPLATFORM node:20-alpine AS builder
FROM --platform=$BUILDPLATFORM node:20.5-alpine AS builder

WORKDIR /build

Expand Down

0 comments on commit b187e8c

Please sign in to comment.