From 62fcfe0110b80c26af1315b35dc61e1ca7283ee5 Mon Sep 17 00:00:00 2001 From: Araozu Date: Wed, 20 Nov 2024 19:57:05 -0500 Subject: [PATCH] feat: jenkins --- Jenkinsfile | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 0160f82..8776916 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,21 +1,31 @@ pipeline { - agent { - docker { - image 'node:22' - } - } stages { stage('Install pnpm') { + agent { + docker { + image 'node:22' + } + } steps { sh 'npm i -g pnpm' } } stage('Install dependencies') { + agent { + docker { + image 'node:22' + } + } steps { sh 'pnpm i' } } stage('Buid') { + agent { + docker { + image 'node:22' + } + } steps { sh 'THP_BINARY=/var/bin/thp pnpm build' }