File tree Expand file tree Collapse file tree 4 files changed +31
-70
lines changed Expand file tree Collapse file tree 4 files changed +31
-70
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : Publish canary
2+
3+ on :
4+ pull_request :
5+ branches : ['main']
6+
7+ jobs :
8+ publish-canary :
9+ name : Publish canary
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v3
13+ - uses : actions/setup-node@v3
14+ with :
15+ node-version : 18
16+ cache : ' yarn'
17+ env :
18+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
19+ - name : Install deps
20+ run : yarn install
21+ - name : Publish canary
22+ env :
23+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
24+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
25+ run : yarn release:canary
Original file line number Diff line number Diff line change 2121 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
2222 - name : Install deps
2323 run : yarn install
24- - name : Build palette-mobile
25- run : yarn build-lib:clean
2624 - name : Release new version
2725 env :
2826 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 88 "prepare" : " yarn build" ,
99 "build" : " tsc" ,
1010 "test" : " jest" ,
11+ "test:w" : " jest --watch" ,
1112 "lint" : " eslint src/**/*.ts" ,
12- "eslint- fix" : " eslint src/**/*.ts --fix" ,
13- "prettier- fix" : " prettier --write \" **/*.{ts,tsx}\" " ,
13+ "eslint: fix" : " eslint src/**/*.ts --fix" ,
14+ "prettier: fix" : " prettier --write \" **/*.{ts,tsx}\" " ,
1415 "release" : " auto shipit" ,
15- "release- canary" : " auto canary"
16+ "release: canary" : " auto canary"
1617 },
1718 "peerDependencies" : {
18- "react" : " >=16.8.0 " ,
19- "react-native" : " >=0.59 "
19+ "react" : " >=17.0.2 " ,
20+ "react-native" : " >=0.65 "
2021 },
2122 "devDependencies" : {
2223 "@auto-it/all-contributors" : " 10.37.6" ,
You can’t perform that action at this time.
0 commit comments