From faf7cd9d1edd289ca87030e416993ea6d72a4063 Mon Sep 17 00:00:00 2001 From: Ming Di Leom <2809763-curben@users.noreply.gitlab.com> Date: Thu, 24 Oct 2024 10:19:22 +0000 Subject: [PATCH] ci: switch to bun --- .github/workflows/pages.yml | 4 ++-- .gitlab-ci.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index f863306..f954924 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -8,7 +8,7 @@ on: jobs: pages: runs-on: ubuntu-latest - container: node:lts-alpine + container: oven/bun:alpine steps: - uses: actions/checkout@v4 - name: Install Dependencies @@ -54,6 +54,6 @@ jobs: NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} if: ${{ env.NETLIFY_SITE_ID != 0 && env.GITLAB_STATUS == 'down' }} run: | - npm install netlify-cli -g + bun install -g netlify-cli netlify --telemetry-disable netlify deploy --dir=public --prod diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 72acee9..01980a3 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 @@ -61,7 +61,7 @@ netlify: - build_job before_script: - - npm install netlify-cli -g + - bun install -g netlify-cli - netlify --telemetry-disable script: