File tree 5 files changed +2597
-25
lines changed
5 files changed +2597
-25
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/[email protected] /schema.json" ,
3
+ "changelog" : " @changesets/cli/changelog" ,
4
+ "commit" : false ,
5
+ "fixed" : [],
6
+ "linked" : [],
7
+ "access" : " public" ,
8
+ "baseBranch" : " master" ,
9
+ "updateInternalDependencies" : " patch" ,
10
+ "ignore" : []
11
+ }
Original file line number Diff line number Diff line change 1
- name : PUBLISH
1
+ name : Release
2
2
3
3
on :
4
4
push :
5
- tags :
6
- - ' v*'
5
+ branches :
6
+ - master
7
+
8
+ concurrency : ${{ github.workflow }}-${{ github.ref }}
7
9
8
10
jobs :
9
- publish-npm :
11
+ release :
12
+ name : Release
10
13
runs-on : ubuntu-latest
11
14
steps :
12
15
- uses : actions/checkout@v3
13
- - uses : actions/setup-node@v2
16
+
17
+ - uses : actions/setup-node@v3
14
18
with :
15
19
node-version : 20
16
20
registry-url : https://registry.npmjs.org/
17
21
18
- - name : Install packages
22
+ - name : Install dependencies
19
23
run : npm ci
20
24
25
+ - name : ESLint
26
+ run : npm run lint
27
+
28
+ - name : Lint dependencies
29
+ run : npm run lint:deps
30
+
31
+ - name : Lint types
32
+ run : npm run lint:types
33
+
21
34
- name : Test source
22
35
run : npm run test
23
36
24
37
- name : Build source
25
38
run : npm run build
26
39
27
- - name : Publish packages to npm registry
28
- run : npm publish --access public
40
+ - name : Raise release or publish to npm
41
+ id : changesets
42
+ uses : changesets/action@v1
43
+ with :
44
+ publish : npm run release
29
45
env :
30
- NODE_AUTH_TOKEN : ${{secrets.REACT_RESOURCE_ROUTER_NPM_TOKEN}}
46
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
47
+ NPM_TOKEN : ${{ secrets.REACT_RESOURCE_ROUTER_NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments