diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2bf1f26..0844941 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,4 @@ -image: node:lts-alpine +image: oven/bun:alpine include: - template: Security/Secret-Detection.gitlab-ci.yml @@ -58,7 +58,7 @@ netlify: - build_job before_script: - - npm install netlify-cli -g + - bun install -g netlify-cli - netlify --telemetry-disable script: diff --git a/src/script.sh b/src/script.sh index f2caa09..3d23d02 100644 --- a/src/script.sh +++ b/src/script.sh @@ -34,6 +34,11 @@ check_grep() { } check_grep +if command -v bun &> /dev/null; then + alias node="bun" +fi +node --version + rm -rf "tmp/" mkdir -p "tmp/"