Skip to content

Commit f3181e7

Browse files
committed
feat: build types before release
1 parent 47bb239 commit f3181e7

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/pr-release.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ jobs:
2626
npm-token: ${{ secrets.NPM_TOKEN }}
2727

2828
- name: Build packages
29-
run: pnpm build:libs
29+
run: |
30+
pnpm ts-check
31+
pnpm build:all
3032
3133
- name: Release to @pr-${{ github.event.pull_request.number }} tag on npm
3234
id: release

packages/playwright-utils/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@
1919
},
2020
"files": ["dist"],
2121
"scripts": {
22+
"ts:check": "pnpm tsc --noEmit",
2223
"build": "pnpm ts:check && tsup",
23-
"ts:check": "pnpm tsc --noEmit"
24+
"build:all": "pnpm build"
2425
},
2526
"dependencies": {
2627
"adm-zip": "^0.5.10"

0 commit comments

Comments
 (0)