File tree Expand file tree Collapse file tree 16 files changed +140
-62
lines changed
Expand file tree Collapse file tree 16 files changed +140
-62
lines changed Original file line number Diff line number Diff line change 1+ name : checks
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+ pull_request :
8+ branches :
9+ - master
10+
11+ jobs :
12+ test :
13+ runs-on : ubuntu-latest
14+
15+ steps :
16+ - uses : actions/checkout@v1
17+
18+ - name : Install Dependencies
19+ run : yarn --frozen-lockfile
20+
21+ - name : Build packages
22+ run : yarn build-packages
23+
24+ - name : Run linter
25+ run : yarn lint
26+
27+ - name : Run prettier
28+ run : yarn prettier:check
29+
30+ - name : Run tests
31+ run : yarn test
Original file line number Diff line number Diff line change 1+ name : publish
2+
3+ on :
4+ release :
5+ types : [created]
6+
7+ jobs :
8+ publish :
9+ runs-on : ubuntu-latest
10+
11+ steps :
12+ - uses : actions/checkout@v2
13+
14+ - name : Install Dependencies
15+ run : yarn --frozen-lockfile
16+
17+ - name : Build packages
18+ run : yarn build-packages
19+
20+ - name : Run linter
21+ run : yarn lint
22+
23+ - name : Run prettier
24+ run : yarn prettier:check
25+
26+ - name : Run tests
27+ run : yarn test
28+
29+ - name : Publish
30+ run : sh ./bin/pubpish.sh
31+
32+ env :
33+ NPM_AUTH_TOKEN : ${{ secrets.NPM_AUTH_TOKEN }}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1818
1919if [ " $published " != " $version " ]; then
2020 echo " Try to publish $version version of the $name package."
21- echo " //registry.npmjs.org/:_authToken=\$ {NPM_TOKEN }" > .npmrc
21+ echo " //registry.npmjs.org/:_authToken=\$ {NPM_AUTH_TOKEN }" > .npmrc
2222 npm publish --access public; if [ " $? " != " 0" ]; then status=1; fi
23- else
23+ else
2424 echo " Current version of the package already published to the NPM."
2525fi
2626
3232 echo -e " \n\033[0;32mThe try to publish for \" ${package} \" exited with 0\033[0m\n"
3333fi
3434
35- exit $status
35+ exit $status
Original file line number Diff line number Diff line change 44 "repository" : " https://github.com/8base/react-sdk" ,
55 "main" : " dist/index.js" ,
66 "module" : " dist/index.js" ,
7+ "typings" : " dist/index.d.ts" ,
78 "scripts" : {
89 "build" : " ../../bin/build-package.sh" ,
910 "watch" : " ../../bin/watch-package.sh" ,
Original file line number Diff line number Diff line change 55 "homepage" : " https://github.com/8base/react-sdk/tree/master/packages/app-provider#readme" ,
66 "main" : " dist/index.js" ,
77 "module" : " dist/index.js" ,
8+ "typings" : " dist/index.d.ts" ,
89 "scripts" : {
910 "build" : " ../../bin/build-package.sh" ,
1011 "watch" : " ../../bin/watch-package.sh" ,
Original file line number Diff line number Diff line change 55 "homepage" : " https://github.com/8base/react-sdk/tree/master/packages/react-auth#readme" ,
66 "main" : " dist/index.js" ,
77 "module" : " dist/index.js" ,
8+ "typings" : " dist/index.d.ts" ,
89 "scripts" : {
910 "build" : " ../../bin/build-package.sh" ,
1011 "watch" : " ../../bin/watch-package.sh" ,
Original file line number Diff line number Diff line change 55 "homepage" : " https://github.com/8base/react-sdk/tree/master/packages/crud#readme" ,
66 "main" : " dist/index.js" ,
77 "module" : " dist/index.js" ,
8+ "typings" : " dist/index.d.ts" ,
89 "scripts" : {
910 "build" : " ../../bin/build-package.sh" ,
1011 "watch" : " ../../bin/watch-package.sh"
Original file line number Diff line number Diff line change 55 "homepage" : " https://github.com/8base/react-sdk/tree/master/packages/file-input#readme" ,
66 "main" : " dist/index.js" ,
77 "module" : " dist/index.js" ,
8+ "typings" : " dist/index.d.ts" ,
89 "scripts" : {
910 "build" : " ../../bin/build-package.sh" ,
1011 "watch" : " ../../bin/watch-package.sh" ,
Original file line number Diff line number Diff line change 55 "homepage" : " https://github.com/8base/react-sdk/tree/master/packages/forms#readme" ,
66 "main" : " dist/index.js" ,
77 "module" : " dist/index.js" ,
8+ "typings" : " dist/index.d.ts" ,
89 "scripts" : {
910 "build" : " ../../bin/build-package.sh" ,
1011 "watch" : " ../../bin/watch-package.sh" ,
2324 "@8base/error-codes" : " ^1.0.21" ,
2425 "@8base/utils" : " ^1.2.8" ,
2526 "@8base/validate" : " ^1.2.8" ,
26- "final-form" : " ^4.16 .1" ,
27- "final-form-arrays" : " ^1.1 .2" ,
27+ "final-form" : " ^4.20 .1" ,
28+ "final-form-arrays" : " ^3.0 .2" ,
2829 "graphql-tag" : " ^2.10.0" ,
2930 "prop-types" : " ^15.6.1" ,
3031 "ramda" : " ^0.26.1" ,
31- "react-final-form" : " ^6.3.0 " ,
32- "react-final-form-arrays" : " ^3.1.0 "
32+ "react-final-form" : " ^6.5.1 " ,
33+ "react-final-form-arrays" : " ^3.1.2 "
3334 },
3435 "devDependencies" : {
3536 "@babel/core" : " ^7.4.3" ,
You can’t perform that action at this time.
0 commit comments