Skip to content

Commit ed82127

Browse files
committed
ci: add test step to release script
1 parent 3b9a9a2 commit ed82127

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ jobs:
3535
with:
3636
publish: pnpm run release
3737
env:
38+
SQUARE_API_KEY: ${{ secrets.SQUARE_API_KEY }}
3839
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3940
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
4041

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"packageManager": "pnpm@10.9.0",
99
"type": "module",
1010
"scripts": {
11-
"release": "pnpm lint && pnpm build && changeset publish",
11+
"release": "pnpm lint && pnpm build && pnpm test && changeset publish",
1212
"build": "tsup ./src",
1313
"check-types": "tsc --noEmit",
1414
"lint": "biome check --write .",

0 commit comments

Comments
 (0)