Skip to content

Commit 5fe48ae

Browse files
committed
chore: better publint
1 parent 59bc7b7 commit 5fe48ae

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/pr.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,10 @@ jobs:
1818

1919
- uses: pnpm/action-setup@v2
2020

21-
- run: npx publint --strict
22-
2321
- uses: actions/setup-node@v4
2422
with:
2523
node-version: ${{ matrix.version }}
2624
registry-url: https://registry.npmjs.org/
2725
cache: 'pnpm'
2826

29-
- run: make test
30-
env:
31-
NODE_ENV: development
27+
- run: make test publint

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,7 @@ dev: node_modules
2828
.PHONY: pretty
2929
pretty: node_modules
3030
pnpm exec prettier --write .
31+
32+
.PHONY: publint
33+
publint: dist
34+
npx publint --strict

0 commit comments

Comments
 (0)