Skip to content

Commit

Permalink
Remove script, edit workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
zaelgohary committed Jun 12, 2024
1 parent b79b3fc commit 354edac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/audit_fix.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

# This workflow will do a clean install of node dependencies, cache/restore them & audit the source code.
name: Full Clients Audit

on:
Expand All @@ -15,7 +13,6 @@ jobs:
strategy:
matrix:
node-version: [18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v2
Expand All @@ -28,4 +25,4 @@ jobs:
- name: Install Dependencies
run: npm install
- name: Audit Fix
run: npm run audit-fix
run: npm audit fix
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@
"prepare": "husky install",
"lint": "eslint -c .eslintrc.json . --fix",
"check-eslint": "eslint -c .eslintrc.json .",
"check-prettier": "prettier .prettierrc .",
"audit-fix": "npm audit fix"
"check-prettier": "prettier .prettierrc ."
},
"lint-staged": {
"*.{js,jsx,ts,tsx,css,scss,svelte,vue}": "eslint -c .eslintrc.json --fix",
Expand Down

0 comments on commit 354edac

Please sign in to comment.