Skip to content

Commit 532599b

Browse files
committed
chore(ci): update scripts
1 parent ac7ca01 commit 532599b

File tree

5 files changed

+10
-15
lines changed

5 files changed

+10
-15
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@ jobs:
2727
cache: "pnpm"
2828
- run: pnpm install
2929
- run: pnpm run build
30-
- run: pnpm run type-check
30+
- run: pnpm run types
3131
- run: pnpm run test

.github/workflows/lint.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,7 @@ jobs:
1919
cache: "pnpm"
2020
- run: pnpm install
2121
- run: pnpm run build
22-
- run: pnpm run type-check
22+
- run: pnpm run types
23+
- run: pnpm run deps
24+
env:
25+
NODE_ENV: production

.github/workflows/release.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,3 @@ jobs:
3838
env:
3939
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
4040
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
41-
- name: Validate dependencies
42-
if: steps.changesets.outputs.published == 'true'
43-
run: |
44-
pnpm run deps:check
45-
env:
46-
NODE_ENV: production

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ The `examples/` directory contains sample projects that demonstrate how to use C
169169

170170
- **Type check**:
171171
```bash
172-
pnpm type-check
172+
pnpm run types
173173
```
174174

175175
- **Build stubbed packages** (for faster development):
@@ -370,4 +370,4 @@ Thank you for taking the time to contribute to Clack! Feel free to join our comm
370370
371371
## Acknowledgments
372372
373-
This contributing guide was inspired by and adapted from the [Astro Contributing Manual](https://github.com/withastro/astro/blob/main/CONTRIBUTING.md). We appreciate their excellent documentation and open source practices.
373+
This contributing guide was inspired by and adapted from the [Astro Contributing Manual](https://github.com/withastro/astro/blob/main/CONTRIBUTING.md). We appreciate their excellent documentation and open source practices.

package.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,13 @@
99
"dev": "pnpm --filter @example/changesets run start",
1010
"format": "biome check --write",
1111
"lint": "biome lint --write --unsafe",
12-
"type-check": "biome lint && tsc",
12+
"types": "biome lint --write --unsafe",
13+
"deps": "pnpm exec knip --production",
1314
"test": "pnpm --color -r run test",
1415
"ci:install": "pnpm install --no-frozen-lockfile",
1516
"ci:version": "changeset version",
1617
"ci:publish": "changeset publish",
17-
"ci:prepublish": "pnpm build",
18-
"deps:check": "pnpm exec knip --production",
19-
"jsr:test": "pnpm --filter \"@clack/*\" jsr --dry-run",
20-
"jsr:run": "pnpm --filter \"@clack/*\" jsr"
18+
"ci:prepublish": "pnpm build"
2119
},
2220
"devDependencies": {
2321
"@biomejs/biome": "1.9.4",

0 commit comments

Comments
 (0)