Skip to content

Commit 65beae2

Browse files
committed
checkpoint
1 parent e3e5a2b commit 65beae2

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

.github/workflows/validate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
run: pnpm security
5050

5151
- name: Lint Repo
52-
run: pnpm lint:js
52+
run: pnpm lint
5353

5454
- name: Run Tests
5555
run: pnpm ci:coverage

package.json

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,19 @@
1616
"node": ">=12"
1717
},
1818
"scripts": {
19-
"ci:coverage": "nyc npm run test && nyc report --reporter=text-lcov > coverage.lcov",
20-
"ci:test": "npm run test",
21-
"lint": "eslint src test --fix --cache",
19+
"build": "tsc --project tsconfig.json",
20+
"ci:coverage": "nyc pnpm ci:test && nyc report --reporter=text-lcov > coverage.lcov",
21+
"ci:lint": "pnpm lint && pnpm security",
22+
"ci:test": "pnpm test -- --verbose",
23+
"lint": "pnpm lint:docs && pnpm lint:json && pnpm lint:js",
2224
"lint-staged": "lint-staged",
23-
"security": "npm audit --audit-level=high --prod",
24-
"test": "ava test/integration.ts"
25+
"lint:docs": "prettier --write README.md",
26+
"lint:js": "eslint --cache --fix --cache src test",
27+
"lint:json": "prettier --write codecov.yml package.json",
28+
"prepublishOnly": "pnpm lint && pnpm build",
29+
"pretest": "pnpm build",
30+
"security": "pnpm audit --audit-level=high --prod",
31+
"test": "pnpm install && ava"
2532
},
2633
"files": [
2734
"dist",

0 commit comments

Comments
 (0)