Skip to content

Commit

Permalink
feat: add publint
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonkuhrt committed May 16, 2024
1 parent c7dae68 commit 2b4969f
Show file tree
Hide file tree
Showing 3 changed files with 76 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ jobs:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- run: pnpm check:lint
publint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- run: pnpm check:publint
types:
runs-on: ubuntu-latest
steps:
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,11 @@
"clean": "tsc --build --clean && rm -rf build",
"test": "vitest",
"prepack": "pnpm build",
"check": "pnpm check:format && pnpm check:lint && pnpm check:types",
"check": "pnpm check:format && pnpm check:lint && pnpm check:types && pnpm check:publint",
"check:format": "dprint check",
"check:lint": "eslint . --max-warnings 0",
"check:types": "tsc --noEmit"
"check:types": "tsc --noEmit",
"check:publint": "publint run --strict"
},
"devDependencies": {
"@tsconfig/node18": "18.2.4",
Expand All @@ -64,6 +65,7 @@
"fs-jetpack": "5.1.0",
"inquirer": "9.2.19",
"markdown-toc": "1.2.0",
"publint": "^0.2.7",
"tsx": "4.7.2",
"typescript": "5.4.5",
"vitest": "1.5.0"
Expand Down
66 changes: 66 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2b4969f

Please sign in to comment.