feat: support Bun
This commit is contained in:
parent
5d8e3082d8
commit
21fe97dc0a
|
@ -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:
|
||||
|
|
|
@ -34,6 +34,11 @@ check_grep() {
|
|||
}
|
||||
check_grep
|
||||
|
||||
if command -v bun &> /dev/null; then
|
||||
alias node="bun"
|
||||
fi
|
||||
node --version
|
||||
|
||||
|
||||
mkdir -p "tmp/"
|
||||
cd "tmp/"
|
||||
|
|
Loading…
Reference in New Issue