File tree Expand file tree Collapse file tree 2 files changed +9
-8
lines changed
Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 11name : ci
22on :
33 push :
4- branches : ' *'
4+ branches : [ '*']
55 pull_request :
66jobs :
77 build-android :
88 runs-on : ubuntu-latest
99 steps :
1010 - uses : actions/checkout@v2
11- - uses : actions/setup-node@v1
11+ - uses : actions/setup-node@v2
1212 with :
13- node-version : ' 12 '
13+ node-version : ' 14 '
1414 - run : npm i -g electrode-native
1515 - run : yarn --frozen-lockfile
1616 - working-directory : android/
2121 runs-on : macos-latest
2222 steps :
2323 - uses : actions/checkout@v2
24- - uses : actions/setup-node@v1
24+ - uses : actions/setup-node@v2
2525 with :
26- node-version : ' 12 '
26+ node-version : ' 14 '
2727 - run : npm i -g electrode-native
2828 - run : yarn --frozen-lockfile
2929 - working-directory : ios/
Original file line number Diff line number Diff line change 11name : publish
22on :
33 push :
4- tags : v[0-9]+.[0-9]+.[0-9]+
4+ tags : [' v[0-9]+.[0-9]+.[0-9]+']
55jobs :
66 publish :
7+ if : github.event.repository.fork == false
78 runs-on : ubuntu-latest
89 steps :
910 - uses : actions/checkout@v2
10- - uses : actions/setup-node@v1
11+ - uses : actions/setup-node@v2
1112 with :
12- node-version : 12
13+ node-version : ' 14 '
1314 registry-url : ' https://registry.npmjs.org'
1415 - run : yarn --frozen-lockfile
1516 - run : npm publish --access public
You can’t perform that action at this time.
0 commit comments