File tree Expand file tree Collapse file tree 1 file changed +26
-8
lines changed
Expand file tree Collapse file tree 1 file changed +26
-8
lines changed Original file line number Diff line number Diff line change 66
77jobs :
88 build-and-test :
9- runs-on : ubuntu-latest
10- steps :
11- - uses : actions/checkout@v3
12- - run : npm ci
13- - name : Build the library
14- run : npm run build
15- - name : Run unit tests
16- run : npm run test
9+ runs-on : ubuntu-latest
10+ steps :
11+ - uses : actions/checkout@v3
12+ with :
13+ fetch-depth : 0
14+
15+ - name : Install git-secrets
16+ run : |
17+ git clone https://github.com/awslabs/git-secrets.git
18+ cd git-secrets
19+ sudo make install
20+
21+ - name : Configure git-secrets
22+ run : |
23+ git secrets --register-aws
24+
25+ - name : Run git-secrets scan
26+ run : |
27+ git secrets --scan-history
28+
29+
30+ - run : npm ci
31+ - name : Build the library
32+ run : npm run build
33+ - name : Run unit tests
34+ run : npm run test
You can’t perform that action at this time.
0 commit comments