File tree Expand file tree Collapse file tree 7 files changed +3269
-167
lines changed Expand file tree Collapse file tree 7 files changed +3269
-167
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/schema.json" ,
3
+ "changelog" : [
4
+ " @changesets/changelog-github" ,
5
+ {
6
+ "repo" : " prettier/eslint-config-prettier"
7
+ }
8
+ ],
9
+ "commit" : false ,
10
+ "fixed" : [],
11
+ "linked" : [],
12
+ "access" : " public" ,
13
+ "baseBranch" : " main" ,
14
+ "updateInternalDependencies" : " patch" ,
15
+ "ignore" : []
16
+ }
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 : Release
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - name : Checkout Repo
14
+ uses : actions/checkout@v4
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 LTS
20
+ uses : actions/setup-node@v4
21
+ with :
22
+ node-version : lts/*
23
+ cache : npm
24
+
25
+ - name : Install Dependencies
26
+ run : npm ci
27
+
28
+ - name : Create Release Pull Request or Publish to npm
29
+ id : changesets
30
+ uses : changesets/action@v1
31
+ with :
32
+ commit : ' chore: release eslint-config-prettier'
33
+ title : ' chore: release eslint-config-prettier'
34
+ publish : npm run release
35
+ env :
36
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
37
+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments