File tree Expand file tree Collapse file tree 2 files changed +41
-0
lines changed Expand file tree Collapse file tree 2 files changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ github : [theoribbi]
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments