File tree Expand file tree Collapse file tree 3 files changed +59
-0
lines changed
Expand file tree Collapse file tree 3 files changed +59
-0
lines changed Original file line number Diff line number Diff line change 1+ # Changesets
2+
3+ This directory is used by [ Changesets] ( https://github.com/changesets/changesets ) to manage versioning and publishing.
4+
5+ To create a new changeset, run ` pnpm changeset ` in this directory.
Original file line number Diff line number Diff line change 1+ {
2+ "$schema" : " https://unpkg.com/@changesets/config@3.1.1/schema.json" ,
3+ "changelog" : " @changesets/cli/changelog" ,
4+ "commit" : false ,
5+ "fixed" : [],
6+ "linked" : [],
7+ "access" : " public" ,
8+ "baseBranch" : " main" ,
9+ "updateInternalDependencies" : " patch" ,
10+ "ignore" : []
11+ }
Original file line number Diff line number Diff line change 1+ name : Publish to npm
2+
3+ on :
4+ push :
5+ branches : [main]
6+ workflow_dispatch :
7+
8+ concurrency :
9+ group : publish
10+ cancel-in-progress : false
11+
12+ jobs :
13+ publish :
14+ runs-on : ubuntu-latest
15+ permissions :
16+ contents : write
17+ id-token : write
18+ steps :
19+ - uses : actions/checkout@v4
20+ with :
21+ fetch-depth : 0
22+
23+ - uses : pnpm/action-setup@v4
24+ with :
25+ version : 9
26+
27+ - uses : actions/setup-node@v4
28+ with :
29+ node-version : 20
30+ cache : pnpm
31+ registry-url : https://registry.npmjs.org
32+
33+ - run : pnpm install --frozen-lockfile
34+
35+ - name : Create Release Pull Request or Publish
36+ id : changesets
37+ uses : changesets/action@v1
38+ with :
39+ publish : pnpm run release
40+ env :
41+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
42+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
43+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments