ci: switch to bun

This commit is contained in:
Ming Di Leom 2024-10-24 10:19:22 +00:00
parent f01a711836
commit faf7cd9d1e
No known key found for this signature in database
GPG Key ID: 32D3E28E96A695E8
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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: