Skip to content

Commit 7b4e231

Browse files
authored
Add pkg.pr.new badges to README files and update publish workflow (#181)
- Added pkg.pr.new badge to the main README.md and the blocks package README.md for improved visibility of package status. - Updated the GitHub Actions publish workflow to include steps for building the library and blocks before the continuous release process.
1 parent 295ceb6 commit 7b4e231

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

.github/workflows/publish.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ jobs:
2222

2323
- name: Install Dependencies
2424
run: pnpm install
25+
26+
- name: Build library
27+
run: pnpm run build:lib
28+
29+
- name: Build blocks
30+
run: pnpm run build:blocks
2531

2632
- name: Continuous Release
2733
run: pnpm dlx pkg-pr-new publish --compact './packages/lib' './packages/blocks'

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
[![Discord](https://img.shields.io/discord/740090768164651008?style=flat&colorA=333333&colorB=444444&label=discord&logo=discord&logoColor=ffffff)](https://discord.com/channels/408617316415307776/408617316415307778)
33
[![Twitter](https://img.shields.io/twitter/follow/playcanvas?label=%40playcanvas&style=flat&colorA=333333&colorB=333333&logo=x&logoColor=ffffff)](https://x.com/playcanvas)
44
[![Issues](https://img.shields.io/github/issues/playcanvas/react?style=flat&colorA=333333&colorB=444444)](https://github.com/playcanvas/react)
5+
[![pkg.pr.new](https://pkg.pr.new/badge/playcanvas/react)](https://pkg.pr.new/~/playcanvas/react)
56

67
## @playcanvas/react
78
_⚡ A full-featured library for interactive 3D in React._

packages/blocks/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
[![pkg.pr.new](https://pkg.pr.new/badge/playcanvas/blocks)](https://pkg.pr.new/~/playcanvas/blocks)
2+
13
# Building Blocks for 3D
24

35
A set of beautifully crafted high-level 3D primitives for React, built on @playcanvas/react — designed to help you compose 3D content with minimal setup.

0 commit comments

Comments
 (0)