File tree Expand file tree Collapse file tree 6 files changed +1348
-1
lines changed Expand file tree Collapse file tree 6 files changed +1348
-1
lines changed Original file line number Diff line number Diff line change 1+ # Changesets
2+
3+ Hello and welcome! This folder has been automatically generated by ` @changesets/cli ` , a build tool that works
4+ with multi-package repos, or single-package repos to help you version and publish your code. You can
5+ find the full documentation for it [ in our repository] ( https://github.com/changesets/changesets )
6+
7+ We have a quick list of common questions to get you started engaging with this project in
8+ [ our documentation] ( https://github.com/changesets/changesets/blob/main/docs/common-questions.md )
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" : " restricted" ,
8+ "baseBranch" : " main" ,
9+ "updateInternalDependencies" : " patch" ,
10+ "ignore" : []
11+ }
Original file line number Diff line number Diff line change 1+ name : π¦ Release
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+
8+ jobs :
9+ release :
10+ name : Generate Changelog & Publish Release
11+ runs-on : ubuntu-latest
12+
13+ permissions :
14+ contents : write
15+ pull-requests : write
16+
17+ steps :
18+ - name : ποΈ Checkout repository
19+ uses : actions/checkout@v4
20+ with :
21+ fetch-depth : 0
22+
23+ - name : π§° Setup Node.js
24+ uses : actions/setup-node@v4
25+ with :
26+ node-version : 22
27+ cache : ' npm'
28+
29+ - name : π¦ Install dependencies
30+ run : npm install
31+
32+ - name : π§© Create version from Changesets
33+ run : npx changeset version
34+
35+ - name : π Generate Changelog
36+ run : |
37+ git config user.name "github-actions[bot]"
38+ git config user.email "github-actions[bot]@users.noreply.github.com"
39+ git add .
40+ git commit -m "chore: update changelog and package versions" || echo "No changes to commit"
41+ git push
42+
43+ - name : π Publish GitHub Release
44+ uses : changesets/action@v1
45+ with :
46+ publish : npx changeset publish
47+ env :
48+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1- .env
1+ .env
2+ /node_modules
You canβt perform that action at this time.
0 commit comments