Skip to content

Commit f26f924

Browse files
authored
fix: jenkins build - bump node and pnpm (#409)
1 parent caf7222 commit f26f924

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

Dockerfile-deploy

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
1-
FROM node:22.13-slim AS base
1+
FROM node:22.14.0-slim AS base
22
ENV PNPM_HOME="/pnpm"
33
ENV PATH="$PNPM_HOME:$PATH"
44
RUN corepack enable
55

66
RUN apt-get update && apt-get install -y jq && apt-get install -y curl
77

8+
COPY --from=golang:1.24.1-alpine /usr/local/go/ /usr/local/go/
9+
ENV PATH="/usr/local/go/bin:${PATH}"
10+
RUN mkdir -p /go
11+
ENV GOPATH="/go"
12+
ENV PATH="/go/bin:$PATH"
13+
RUN go install github.com/tursodatabase/turso-cli/cmd/turso@latest
14+
815
COPY . /app
916
WORKDIR /app

Jenkinsfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ pipeline {
2828
steps {
2929
script {
3030
sh """
31-
corepack enable && corepack prepare pnpm@9.15.2 --activate
32-
pnpm install
31+
corepack enable && corepack prepare pnpm@10.6.2 --activate
32+
pnpm install
3333
"""
3434
}
3535
}
@@ -44,7 +44,7 @@ pipeline {
4444
sed -i "s/<kv_prod_namespace_id>/$KV_PROD/g" apps/blog-bff/wrangler.toml
4545
npx wrangler deploy --config apps/blog-bff/wrangler.toml --env dev
4646
npx wrangler deploy --config apps/blog-bff/wrangler.toml --env prod
47-
"""
47+
"""
4848
}
4949
}
5050
}

0 commit comments

Comments
 (0)