perf(jenkins): disable astro telemetry and add pnpm cache

This commit is contained in:
Lucas committed 2026-01-12 18:27:09 +01:00
1 parent 24651d3d1d
commit 25b5a43074
3 files changed
+5 -1

No files matched your search

+2
View File
@@ -2,6 +2,8 @@
FROM node:24-alpine AS build
RUN corepack enable && corepack prepare pnpm@latest --activate
ENV ASTRO_TELEMETRY_DISABLED=1
WORKDIR /app
# Copy depedencies
Vendored
+2
View File
@@ -5,6 +5,8 @@ pipeline {
CONTAINER_NAME = "portfolio"
DOCKER_NETWORK = "reverse-proxy"
DOCKER_HOST = "unix:///var/run/docker.sock"
// Optimization
PNPM_CACHE = "/var/jenkins_home/pnpm-cache"
}
stages {
stage('Checkout') {
+1 -1
View File
@@ -3,7 +3,7 @@ const today = new Date();
---
<footer>
&copy; {today.getFullYear()} Your name here. All rights reserved.
&copy; {today.getFullYear()} Lucas Royer. All rights reserved.
<div class="social-links">
<a href="https://m.webtoo.ls/@astro" target="_blank">
<span class="sr-only">Follow Astro on Mastodon</span>