Skip to content

Commit

Permalink
feat: build types before release
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurgeron committed Jan 16, 2025
1 parent 47bb239 commit f3181e7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/pr-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ jobs:
npm-token: ${{ secrets.NPM_TOKEN }}

- name: Build packages
run: pnpm build:libs
run: |
pnpm ts-check
pnpm build:all
- name: Release to @pr-${{ github.event.pull_request.number }} tag on npm
id: release
Expand Down
3 changes: 2 additions & 1 deletion packages/playwright-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@
},
"files": ["dist"],
"scripts": {
"ts:check": "pnpm tsc --noEmit",
"build": "pnpm ts:check && tsup",
"ts:check": "pnpm tsc --noEmit"
"build:all": "pnpm build"
},
"dependencies": {
"adm-zip": "^0.5.10"
Expand Down

0 comments on commit f3181e7

Please sign in to comment.