💚 (fix ci script for gitlab)
This commit is contained in:
@ -1,14 +1,20 @@
|
|||||||
image: oven/bun:latest
|
image: oven/bun:latest
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- test
|
- lint
|
||||||
|
- build
|
||||||
|
|
||||||
validate-react:
|
before_script:
|
||||||
stage: test
|
- curl -fsSL https://bun.sh/install | bash
|
||||||
|
- export PATH="$HOME/.bun/bin:$PATH"
|
||||||
|
- bun install
|
||||||
|
|
||||||
|
lint:
|
||||||
|
stage: lint
|
||||||
script:
|
script:
|
||||||
- echo "Install dependencies..."
|
|
||||||
- bun install
|
|
||||||
- echo "Menjalankan lint..."
|
|
||||||
- bun run lint
|
- bun run lint
|
||||||
- echo "Menjalankan build..."
|
|
||||||
|
build:
|
||||||
|
stage: build
|
||||||
|
script:
|
||||||
- bun run build
|
- bun run build
|
||||||
|
|||||||
Reference in New Issue
Block a user