fix to use with sveltekit

This commit is contained in:
Thiago Lagden
2023-12-11 13:34:34 -03:00
commit e14f35aff0
29 changed files with 4880 additions and 0 deletions

33
.gitlab-ci.yml Normal file
View File

@@ -0,0 +1,33 @@
include:
- project: "inovacao/devops/template-cicd"
file: "test-package-js.yaml"
- project: "inovacao/devops/template-cicd"
file: "sonar-js.yaml"
- project: "inovacao/devops/template-cicd"
file: "publish-package-js.yaml"
- project: "inovacao/devops/template-cicd"
file: "copy-package-js.yaml"
test:
extends: .test
sonar:
extends: .sonar_js
variables:
SONAR_SOURCE: "src"
SONAR_TEST: "tests"
publish:
extends: .publish
script:
- npm i
- !reference [.publish, script]
copy:
extends: .copy
stages:
- test
- sonar
- release
- copy