gitlab ci tuning

main
Christopher Maujean 2 months ago
parent 4e773aaa30
commit 024ad59d1a
  1. 14
      .gitlab-ci.yml

@ -22,16 +22,6 @@ test:
script:
- bun run lint
- bun run check
- bun run test --coverage
coverage: '/All files\s*\|\s*[\d.]+\s*\|\s*([\d.]+)/'
artifacts:
reports:
coverage_report:
coverage_format: cobertura
path: coverage/cobertura-coverage.xml
paths:
- coverage/
expire_in: 1 week
only:
- main
- merge_requests
@ -41,8 +31,8 @@ build:
<<: *node_template
stage: build
script:
- bun run build
- bun run build:ldo
- bun run build
artifacts:
paths:
- dist/
@ -55,8 +45,8 @@ pages:
<<: *node_template
stage: deploy
script:
- bun run build
- bun run build:ldo
- bun run build
- mkdir public
- cp -r dist/* public/
artifacts:

Loading…
Cancel
Save