Skip to content

Commit

Permalink
switch to npx version of audit-ci
Browse files Browse the repository at this point in the history
works better on CI
  • Loading branch information
darrylhein committed Jul 29, 2024
1 parent e8a432e commit b9b81c9
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 227 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
uses: symfonycorp/security-checker-action@v5

- name: Run JS security checks
run: npx audit-ci@^7 --high --config .audit-ci.jsonc --report-type summary
run: yarn audit:high

- name: Install Composer dependencies
run: composer install --no-interaction --no-progress --ignore-platform-reqs
Expand Down Expand Up @@ -93,7 +93,7 @@ jobs:
uses: symfonycorp/security-checker-action@v5

- name: Run JS security checks
run: npx audit-ci@^7 --high --config .audit-ci.jsonc --report-type summary
run: yarn audit:high

- name: Install Composer dependencies
run: composer install --classmap-authoritative --no-interaction --no-progress --ignore-platform-reqs
Expand Down Expand Up @@ -134,7 +134,7 @@ jobs:
uses: symfonycorp/security-checker-action@v5

- name: Run JS security checks
run: npx audit-ci@^7 --high --config .audit-ci.jsonc --report-type summary
run: yarn audit:high

- name: Install Composer dependencies
run: composer install --no-dev --classmap-authoritative --no-interaction --no-progress --ignore-platform-reqs
Expand Down
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"lint:js:fix": "eslint --ext .js,.vue public/js *.js --fix",
"lint:css": "stylelint public/css/**/*.scss",
"lint:css:fix": "stylelint public/css/**/*.scss --fix",
"audit:moderate": "audit-ci --moderate --config .audit-ci.jsonc --report-type summary",
"audit:high": "audit-ci --high --config .audit-ci.jsonc --report-type summary"
"audit:moderate": "npx audit-ci@^7 --moderate --config .audit-ci.jsonc --report-type summary",
"audit:high": "npx audit-ci@^7 --high --config .audit-ci.jsonc --report-type summary"
},
"dependencies": {
"@apollo/client": "^3.7.12",
Expand Down Expand Up @@ -66,7 +66,6 @@
"@tailwindcss/typography": "^0.5.0",
"@vitejs/plugin-vue": "^5.0.0",
"@vue/test-utils": "^2.0.0",
"audit-ci": "^7.0.1",
"autoprefixer": "^10.0.2",
"dotenv": "^16.0.0",
"eslint": "^8.0.0",
Expand Down
Loading

0 comments on commit b9b81c9

Please sign in to comment.