This repository was archived by the owner on Oct 6, 2022. It is now read-only.
File tree 4 files changed +596
-182
lines changed
4 files changed +596
-182
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ name : Publish
2
+
3
+ on :
4
+ push :
5
+ tags :
6
+ - release-*
7
+
8
+ jobs :
9
+ test :
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - uses : actions/checkout@v1
13
+ - uses : actions/setup-node@v1
14
+ with :
15
+ node-version : 12
16
+ - run : yarn install --frozen-lockfile
17
+ - run : yarn test
18
+
19
+ publish-npm :
20
+ needs : test
21
+ runs-on : ubuntu-latest
22
+ steps :
23
+ - uses : actions/checkout@v1
24
+ - uses : actions/setup-node@v1
25
+ with :
26
+ node-version : 12
27
+ registry-url : https://registry.npmjs.org/
28
+ - run : yarn semantic-release:ci
29
+ env :
30
+ NODE_AUTH_TOKEN : ${{secrets.npm_token}}
31
+ GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
32
+ NPM_TOKEN : ${{secrets.NPM_TOKEN}}
33
+ NPM_AUTH_TOKEN : ${{secrets.NPM_AUTH_TOKEN}}
34
+
35
+ publish-gpr :
36
+ needs : test
37
+ runs-on : ubuntu-latest
38
+ steps :
39
+ - uses : actions/checkout@v1
40
+ - uses : actions/setup-node@v1
41
+ with :
42
+ node-version : 12
43
+ registry-url : https://npm.pkg.github.com/
44
+ scope : ' @tanguyantoine'
45
+ - run : npm publish
46
+ env :
47
+ NODE_AUTH_TOKEN : ${{secrets.NPM_AUTH_TOKEN}}
Original file line number Diff line number Diff line change 35
35
"semantic-release:ci" : " semantic-release --no-ci"
36
36
},
37
37
"devDependencies" : {
38
- "@semantic-release/changelog" : " ^3.0.2 " ,
39
- "@semantic-release/git" : " ^7.0.7 " ,
40
- "@types/react-native" : " ^0.57.11 " ,
41
- "semantic-release" : " ^15.12.1 " ,
42
- "typescript" : " ^3.1.6 "
38
+ "@semantic-release/changelog" : " ^3.0.4 " ,
39
+ "@semantic-release/git" : " ^7.0.16 " ,
40
+ "@types/react-native" : " ^0.60.7 " ,
41
+ "semantic-release" : " ^15.13.21 " ,
42
+ "typescript" : " ^3.5.3 "
43
43
}
44
44
}
You can’t perform that action at this time.
0 commit comments