Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,8 @@ jobs:
- name: Run lint
run: pnpm lint

- name: Build Packages
run: pnpm build

- name: Run tests
run: pnpm test
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,8 @@ jobs:
- name: Install Dependencies
run: pnpm i

- name: Build Packages
run: pnpm build

- name: Publish
run: pnpm stage publish --no-git-checks
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"lint": "rslint",
"lint:write": "rslint --fix",
"prebundle": "node ./bin.js",
"prepare": "rslib",
"bump": "npx bumpp",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Restore the build before CI tests

Removing prepare means the CI install step no longer runs rslib, and the checked .github/workflows/ci.yml still goes from pnpm install --frozen-lockfile to lint and then pnpm test without any build step. The tests execute bin.js, which imports ./dist/index.js, but dist/ is not tracked in a fresh checkout, so every CI test job will fail with the missing dist module unless prepare is kept or CI/test builds first.

Useful? React with 👍 / 👎.

"test": "rstest"
},
Expand Down
Loading