File tree 4 files changed +31
-70
lines changed
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 21
21
NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
22
22
- name : Install deps
23
23
run : yarn install
24
- - name : Build palette-mobile
25
- run : yarn build-lib:clean
26
24
- name : Release new version
27
25
env :
28
26
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 8
8
"prepare" : " yarn build" ,
9
9
"build" : " tsc" ,
10
10
"test" : " jest" ,
11
+ "test:w" : " jest --watch" ,
11
12
"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}\" " ,
14
15
"release" : " auto shipit" ,
15
- "release- canary" : " auto canary"
16
+ "release: canary" : " auto canary"
16
17
},
17
18
"peerDependencies" : {
18
- "react" : " >=16.8.0 " ,
19
- "react-native" : " >=0.59 "
19
+ "react" : " >=17.0.2 " ,
20
+ "react-native" : " >=0.65 "
20
21
},
21
22
"devDependencies" : {
22
23
"@auto-it/all-contributors" : " 10.37.6" ,
You can’t perform that action at this time.
0 commit comments