-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
42 lines (35 loc) · 749 Bytes
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
default:
image: node:14
workflow:
rules:
- if: $CI_COMMIT_BRANCH
- if: $CI_COMMIT_TAG
when: never
stages:
- test
- build
- release
install_deps:
stage: .pre
cache:
key: $CI_COMMIT_REF_SLUG
paths:
- node_modules
policy: push
before_script:
- node --version
- yarn --version
script:
- yarn install --frozen-lockfile
include:
- local: '/cicd/gitlab/test.yaml'
- local: '/cicd/gitlab/build.yaml'
- local: '/cicd/gitlab/release.yaml'
- local: '/cicd/gitlab/docs.yaml'
- template: Security/SAST.gitlab-ci.yml
- template: Security/Dependency-Scanning.gitlab-ci.yml
- template: Security/Secret-Detection.gitlab-ci.yml
semgrep-sast:
cache: {}
secret_detection:
cache: {}