File tree Expand file tree Collapse file tree 4 files changed +36
-47
lines changed
Expand file tree Collapse file tree 4 files changed +36
-47
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : Release (Changesets)
2+
3+ on :
4+ push :
5+ branches : [main]
6+
7+ jobs :
8+ release :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - uses : actions/checkout@v4
12+ with : { fetch-depth: 0 }
13+
14+ - uses : pnpm/action-setup@v4
15+ with : { version: 10 }
16+
17+ - uses : actions/setup-node@v4
18+ with :
19+ node-version : 20
20+ registry-url : https://registry.npmjs.org/
21+
22+ - run : pnpm install --frozen-lockfile
23+
24+ # 1) If there are un-“versioned” changesets, open/update a PR
25+ # 2) If the PR has already been merged (so versions bumped), publish to npm
26+ # 3) Create a GitHub Release (notes from the changelogs)
27+ - name : Version or Publish
28+ uses : changesets/action@v1
29+ with :
30+ version : pnpm changeset version
31+ publish : pnpm -w changeset publish
32+ createGithubReleases : true
33+ env :
34+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
35+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 1010 "dev" : " pnpm -r --parallel --filter ./apps/* run dev" ,
1111 "build" : " pnpm -r --filter ./packages/* run build" ,
1212 "lint" : " pnpm -r lint || true" ,
13- "release" : " pnpm -w changeset publish " ,
13+ "release" : " pnpm changeset" ,
1414 "test" : " pnpm -r --filter @native-ui-org/primitives run test"
1515 },
1616 "devDependencies" : {
You can’t perform that action at this time.
0 commit comments