-
Notifications
You must be signed in to change notification settings - Fork 63
43 lines (40 loc) · 1.09 KB
/
common.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: Common CI
on:
pull_request:
branches:
- main
- experimental
jobs:
audit:
name: Audit ${{ matrix.project }}
runs-on: ubuntu-latest
strategy:
matrix:
project: [apollo, athena, stitch]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18.x
- name: Audit NPM
run: npm audit --production
working-directory: ./packages/${{ matrix.project }}
continue-on-error: true
detect-secrets:
name: Detect Secrets
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.12
- uses: actions/setup-node@v4
with:
node-version: 18.x
- name: Install detect-secrets
run: pip install --upgrade git+https://github.com/ibm/[email protected]+ibm.59.dss#egg=detect-secrets
- name: Install Lerna
run: npm install -g lerna
- name: Run detect-secrets
run: lerna run detect-secrets --stream
continue-on-error: true