Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix dependency vulnerabilities #44

Merged
merged 1 commit into from
Jan 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading