Skip to content

Commit

Permalink
Fix dependency vulnerabilities (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottKayeNeo authored Jan 8, 2025
1 parent 4911d58 commit 1ec4073
Show file tree
Hide file tree
Showing 4 changed files with 11,444 additions and 5,359 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ jobs:
restore-keys: |
${{ runner.os }}-node-
- name: Install
run: yarn --frozen-lockfile --prefer-offline --non-interactive
run: npm ci
- name: Lint
run: yarn lint
run: npm run lint
- name: Build
run: yarn build
run: npm run build
- name: Test
run: yarn test -- --coverage
run: npm run test -- --coverage
- name: Codecov
uses: codecov/codecov-action@v1
with:
Expand Down
12 changes: 4 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ Scan files for credit card numbers

You can also add `ccscan` to your project and set it up as a precommit hook that will block any commits that contain card numbers.

#### Install Dependencies

`yarn add --dev ccscan husky lint-staged` or `npm install -D ccscan husky lint-staged`

#### Add to `package.json`

```json
Expand All @@ -38,17 +34,17 @@ You can also add `ccscan` to your project and set it up as a precommit hook that

1. Fork this repo
1. Clone the forked repo
1. Install dependencies: `yarn`
1. Install dependencies: `npm i`

### Building

#### `yarn build`
#### `npm run build`

To clean the build directory run `yarn clean`
To clean the build directory run `npm run clean`

### Running Tests

#### `yarn test`
#### `npm run test`

## Publishing

Expand Down
Loading

0 comments on commit 1ec4073

Please sign in to comment.