Skip to content

Commit 0d04758

Browse files
authored
chore: remove audit and notify checks from CI [DX-431] (#3107)
1 parent d57e1ed commit 0d04758

File tree

5 files changed

+0
-323
lines changed

5 files changed

+0
-323
lines changed

.circleci/config.yml

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -79,54 +79,21 @@ jobs:
7979
# The build is automatically executed in a prepublishOnly script to ensure that the package.json with the updated version
8080
# is being packaged
8181
- run: npm run semantic-release
82-
audit:
83-
docker: &ref_0
84-
- image: cimg/node:18.18.0
85-
environment:
86-
NPM_CONFIG_PROGRESS: false
87-
NPM_CONFIG_LOGLEVEL: warn
88-
steps:
89-
- checkout
90-
- run: &ref_1
91-
name: Audit
92-
command: |
93-
npm audit --audit-level=moderate --production
94-
audit-and-notify:
95-
docker: *ref_0
96-
steps:
97-
- checkout
98-
- run: *ref_1
99-
- run:
100-
name: Notify vulnerabilities found
101-
when: on_fail
102-
command: |
103-
script/notify-vulnerabilities-to-slack.sh $SLACK_WEBHOOK
10482
workflows:
10583
version: 2
106-
scheduled-audit:
107-
triggers:
108-
- schedule:
109-
cron: 0 0 * * *
110-
filters:
111-
branches:
112-
only: main
113-
jobs:
114-
- audit-and-notify
11584
build_and_test:
11685
jobs:
11786
- unit
11887
- integration
11988
- linux
12089
- osx
121-
- audit
12290
- release:
12391
context: vault
12492
requires:
12593
- unit
12694
- integration
12795
- linux
12896
- osx
129-
- audit
13097
filters:
13198
branches:
13299
only:

.prettierignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
.github
2-
audit-resolve.json
32
.nyc_output
43
coverage
54
package-lock.json

audit-resolve.json

Lines changed: 0 additions & 269 deletions
This file was deleted.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
"author": "Contentful <[email protected]>",
1414
"license": "MIT",
1515
"scripts": {
16-
"audit": "resolve-audit",
1716
"build:standalone": "npm run tsc && pkg .",
1817
"build:package": "npm run build:standalone && script/package",
1918
"lint": "eslint bin lib test",

script/notify-vulnerabilities-to-slack.sh

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)