Skip to content

Commit

Permalink
feat: add snyk vulnerability tests (#876)
Browse files Browse the repository at this point in the history
* feat: add snyk vulnerability tests

* feat: add snyk vulnerability tests
  • Loading branch information
belgattitude authored Jan 6, 2024
1 parent bf4a834 commit a448ce6
Show file tree
Hide file tree
Showing 4 changed files with 1,077 additions and 974 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci-monorepo-integrity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,8 @@ jobs:

- name: 🦺 Syncpack checks - packages - lint-semver-ranges
run: yarn syncpack:check

- name: 🛡️ Snyk security / vulnerabilities tests
run: yarn snyk:test
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
Empty file added .snyk
Empty file.
8 changes: 8 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"g:check-pub": "yarn nx affected --target=check-pub --exclude='examples/**' --exclude='docs'",
"g:release": "yarn g:build-release && yarn exec changeset publish",
"g:ci-coverage-upload": "yarn workspaces foreach --all -tv run ci-coverage-upload",
"snyk:test": "snyk test --all-projects",
"clean:lint": "rimraf ./.cache/eslint",
"clean:global-cache": "rimraf ./.cache ./.nx",
"website:build": "yarn workspace httpx-docs run build",
Expand Down Expand Up @@ -69,9 +70,16 @@
"rimraf": "5.0.5",
"rollup": "4.9.4",
"shell-quote": "1.8.1",
"snyk": "1.1267.0",
"syncpack": "12.3.0",
"typescript": "5.3.3"
},
"resolutions?": {
"inflight": "https://security.snyk.io/vuln/SNYK-JS-INFLIGHT-6095116"
},
"resolutions": {
"inflight": "^1.0.6"
},
"engines": {
"node": ">=18.17"
}
Expand Down
Loading

0 comments on commit a448ce6

Please sign in to comment.