Skip to content

Commit 214cf98

Browse files
committed
ci: run the build task in package new
1 parent 0980efa commit 214cf98

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/pkg-pr.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
cache: "pnpm"
1515
- name: Install dependencies
1616
run: pnpm install
17-
17+
- name: Build
18+
run: pnpm build
1819
- name: Publish preview package
1920
run: pnpx pkg-pr-new publish --no-template

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
"version": "8.26.1",
44
"description": "Monitor if a component is inside the viewport, using IntersectionObserver API",
55
"type": "commonjs",
6-
"source": "./src/index.tsx",
7-
"main": "./dist/index.js",
8-
"module": "./dist/esm/index.js",
9-
"types": "./dist/index.d.ts",
6+
"source": "src/index.tsx",
7+
"main": "dist/index.js",
8+
"module": "dist/esm/index.js",
9+
"types": "dist/index.d.ts",
1010
"exports": {
1111
"./test-utils": {
1212
"types": "./dist/test-utils.d.mts",

0 commit comments

Comments
 (0)