File tree Expand file tree Collapse file tree 1 file changed +0
-25
lines changed Expand file tree Collapse file tree 1 file changed +0
-25
lines changed Original file line number Diff line number Diff line change 30
30
run : |
31
31
yarn install --frozen-lockfile --network-timeout 1000000
32
32
33
- - name : API PROD dependencies scan
34
- run : |
35
- FILENAME=api.prod.deps.audit.json
36
-
37
- yarn --cwd redisinsight/api audit --groups dependencies --json > $FILENAME || true &&
38
- FILENAME=$FILENAME DEPS="API prod" node .github/deps-audit-report.js &&
39
- curl -H "Content-type: application/json" --data @slack.$FILENAME -H "Authorization: Bearer $SLACK_AUDIT_REPORT_KEY" -X POST https://slack.com/api/chat.postMessage
40
-
41
- - name : API DEV dependencies scan
42
- run : |
43
- FILENAME=api.dev.deps.audit.json
44
-
45
- yarn --cwd redisinsight/api audit --groups devDependencies --json > $FILENAME || true &&
46
- FILENAME=$FILENAME DEPS="API dev" node .github/deps-audit-report.js &&
47
- curl -H "Content-type: application/json" --data @slack.$FILENAME -H "Authorization: Bearer $SLACK_AUDIT_REPORT_KEY" -X POST https://slack.com/api/chat.postMessage
48
-
49
- - name : Code analysis
50
- run : |
51
- FILENAME=api.lint.audit.json
52
- WORKDIR="./redisinsight/api"
53
-
54
- yarn lint:api -f json -o $FILENAME || true &&
55
- FILENAME=$FILENAME WORKDIR=$WORKDIR TARGET="API" node .github/lint-report.js &&
56
- curl -H "Content-type: application/json" --data @$WORKDIR/slack.$FILENAME -H "Authorization: Bearer $SLACK_AUDIT_REPORT_KEY" -X POST https://slack.com/api/chat.postMessage
57
-
58
33
- name : Unit tests API
59
34
timeout-minutes : 20
60
35
run : yarn --cwd redisinsight/api/ test:cov --ci --silent
You can’t perform that action at this time.
0 commit comments