gitlab ci tuning

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

@ -22,16 +22,6 @@ test:
script: script:
- bun run lint - bun run lint
- bun run check - 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: only:
- main - main
- merge_requests - merge_requests
@ -41,8 +31,8 @@ build:
<<: *node_template <<: *node_template
stage: build stage: build
script: script:
- bun run build
- bun run build:ldo - bun run build:ldo
- bun run build
artifacts: artifacts:
paths: paths:
- dist/ - dist/
@ -55,8 +45,8 @@ pages:
<<: *node_template <<: *node_template
stage: deploy stage: deploy
script: script:
- bun run build
- bun run build:ldo - bun run build:ldo
- bun run build
- mkdir public - mkdir public
- cp -r dist/* public/ - cp -r dist/* public/
artifacts: artifacts:

Loading…
Cancel
Save