Skip to content

Commit a5d810d

Browse files
committed
chore(primitives): prepare for release 0.0.2; update package.json and pnpm-lock.yaml for new dependencies and improvements
1 parent 0a4fd25 commit a5d810d

File tree

2 files changed

+41
-0
lines changed

2 files changed

+41
-0
lines changed

.github/FUNDING.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
github: [theoribbi]
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Publish @native-ui-org/primitives
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
publish:
9+
if: startsWith(github.event.release.tag_name, 'primitives@')
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v4
15+
with:
16+
fetch-depth: 0
17+
18+
- name: Setup pnpm
19+
uses: pnpm/action-setup@v4
20+
with:
21+
version: 10
22+
23+
- name: Setup Node
24+
uses: actions/setup-node@v4
25+
with:
26+
node-version: 20
27+
registry-url: https://registry.npmjs.org/
28+
29+
- name: Install
30+
run: pnpm install --frozen-lockfile
31+
32+
- name: Build primitives
33+
run: pnpm -r --filter @native-ui-org/primitives run build
34+
35+
- name: Publish to npm
36+
env:
37+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
38+
run: |
39+
cd packages/primitives
40+
npm publish --access public

0 commit comments

Comments
 (0)