-
Notifications
You must be signed in to change notification settings - Fork 5
43 lines (35 loc) · 1018 Bytes
/
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
43
name: CI-Main
on:
push:
concurrency:
group: fusion_ci
jobs:
# --- Do Code Formatter and Linter check
code-quality:
name: 'Code Quality Check'
uses: ironSource/fusion-ui/.github/workflows/step_linter.yml@master
with:
branch_name: ${{ github.ref_name}}
secrets:
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
# --- Do Unit-Test check
unit-tests:
name: 'UnitTests'
uses: ironSource/fusion-ui/.github/workflows/step_unit_tests.yml@master
with:
branch_name: ${{ github.ref_name }}
secrets:
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
# --- Do Git Leaks check
gitleaks:
runs-on: ubuntu-20.04
steps:
- name: Add Homebrew to $PATH
run: echo "/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin" >> $GITHUB_PATH
- uses: actions/checkout@v3
- name: Install GitLeaks
run: |
brew install gitleaks
- name: gitleaks-action
run: |
gitleaks --verbose detect --log-opts --since="2023-01-01"