ajoute gitlab pages
parent
1d3e5662f0
commit
1ad74002d2
|
@ -1,13 +1,17 @@
|
||||||
# You can override the included template(s) by including variable overrides
|
# The Docker image that will be used to build your app
|
||||||
# SAST customization: https://docs.gitlab.com/ee/user/application_security/sast/#customizing-the-sast-settings
|
image: node:lts
|
||||||
# Secret Detection customization: https://docs.gitlab.com/ee/user/application_security/secret_detection/#customizing-settings
|
# Functions that should be executed before the build script is run
|
||||||
# Dependency Scanning customization: https://docs.gitlab.com/ee/user/application_security/dependency_scanning/#customizing-the-dependency-scanning-settings
|
before_script:
|
||||||
# Container Scanning customization: https://docs.gitlab.com/ee/user/application_security/container_scanning/#customizing-the-container-scanning-settings
|
- yarn set version berry
|
||||||
# Note that environment variables can be set in several places
|
- yarn install
|
||||||
# See https://docs.gitlab.com/ee/ci/variables/#cicd-variable-precedence
|
pages:
|
||||||
stages:
|
script:
|
||||||
- test
|
- yarn build
|
||||||
sast:
|
artifacts:
|
||||||
stage: test
|
paths:
|
||||||
include:
|
# The folder that contains the files to be exposed at the Page URL
|
||||||
- template: Security/SAST.gitlab-ci.yml
|
- public
|
||||||
|
rules:
|
||||||
|
# This ensures that only pushes to the default branch will trigger
|
||||||
|
# a pages deploy
|
||||||
|
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
|
||||||
|
|
Loading…
Reference in New Issue