File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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/master/docs/common-questions.md )
Original file line number Diff line number Diff line change 1+ {
2+ "$schema" : " https://unpkg.com/@changesets/config@1.3.0/schema.json" ,
3+ "changelog" : [
4+ " @changesets/changelog-github" ,
5+ { "repo" : " developit/microbundle" }
6+ ],
7+ "commit" : false ,
8+ "linked" : [],
9+ "access" : " public" ,
10+ "baseBranch" : " master" ,
11+ "updateInternalDependencies" : " patch" ,
12+ "ignore" : []
13+ }
Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+
8+ jobs :
9+ release :
10+ name : Release
11+ runs-on : ubuntu-latest
12+ steps :
13+ - name : Checkout Repo
14+ uses : actions/checkout@master
15+ with :
16+ # This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
17+ fetch-depth : 0
18+
19+ - name : Setup Node.js 12.x
20+ uses : actions/setup-node@master
21+ with :
22+ node-version : 12.x
23+
24+ - name : Install Dependencies
25+ run : npm install
26+
27+ - name : Create Release Pull Request or Publish to npm
28+ id : changesets
29+ uses : changesets/action@master
30+ with :
31+ # This expects you to have a script called release which does a build for your packages and calls changeset publish
32+ publish : npm run release
33+ env :
34+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
35+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments