Skip to content

Commit 8bd3061

Browse files
committed
fix: add publint and attw CI checks
1 parent 44fdc6f commit 8bd3061

3 files changed

Lines changed: 362 additions & 3 deletions

File tree

.github/workflows/pkg-check.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Check package exports
2+
on:
3+
push:
4+
branches:
5+
- "**"
6+
concurrency:
7+
group: ${{ github.workflow }}-${{ github.ref }}
8+
cancel-in-progress: true
9+
10+
jobs:
11+
pkg-check:
12+
runs-on: ubuntu-latest
13+
env:
14+
CI_RUN: true
15+
steps:
16+
- uses: actions/checkout@v6
17+
- uses: ./.github/actions/prepare-runner
18+
- run: pnpm --filter nanotags run build
19+
- run: pnpm --filter nanotags exec publint
20+
- run: pnpm --filter nanotags exec attw --pack --profile esm-only

packages/nanotags/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,16 +58,18 @@
5858
"@standard-schema/spec": "^1.1.0"
5959
},
6060
"devDependencies": {
61+
"@arethetypeswrong/cli": "^0.18.2",
6162
"@size-limit/file": "^12.0.1",
6263
"@vitest/coverage-v8": "^4.1.0",
6364
"happy-dom": "^20.8.4",
6465
"nanostores": "^1.2.0",
65-
"valibot": "^1.3.1",
6666
"oxfmt": "^0.35.0",
6767
"oxlint": "^1.56.0",
68+
"publint": "^0.3.18",
6869
"size-limit": "^12.0.1",
6970
"tsdown": "0.21.4",
7071
"typescript": "^5.9.3",
72+
"valibot": "^1.3.1",
7173
"vitest": "^4.1.0"
7274
},
7375
"peerDependencies": {

0 commit comments

Comments
 (0)