From a81e34a62e03ee2563ba8241f23f47493c0af1e4 Mon Sep 17 00:00:00 2001 From: Ming Di Leom <2809763-curben@users.noreply.gitlab.com> Date: Mon, 2 Oct 2023 01:02:25 +0000 Subject: [PATCH] feat(ci): replace node with bun --- .gitlab-ci.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 40f1f61..1808b85 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,4 @@ -image: node:alpine # Use latest version of Node.js on Alpine +image: oven/bun:alpine cache: paths: @@ -13,11 +13,11 @@ build: before_script: - apk update && apk add git - - npm install + - bun install script: # Generate site - - npm run build + - bun run build rules: # Only trigger through push & "Run pipeline" events not in "site" branch; Skip in renovate job @@ -85,11 +85,11 @@ deploy_pages: renovate: before_script: - apk update && apk add git - - npm install + - bun install script: - - npm install snyk @snyk/protect && npm run snyk - - npm install renovate && npm run renovate + - bun install snyk @snyk/protect && bun run snyk + - bun install renovate && bun run renovate # No artifact dependencies: []