Skip to content

Commit cfe6ae2

Browse files
committed
chore: replace travis with gh actions
1 parent 0f48b5b commit cfe6ae2

File tree

4 files changed

+1990
-2131
lines changed

4 files changed

+1990
-2131
lines changed

.github/workflows/release.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Release
2+
on:
3+
push:
4+
branches:
5+
- master
6+
jobs:
7+
release:
8+
name: Release
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v3
13+
- name: Semantic Release
14+
uses: cycjimmy/semantic-release-action@v3
15+
with:
16+
extra_plugins: |
17+
@semantic-release/git
18+
env:
19+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.travis.yml

-16
This file was deleted.

package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@
3939
"react-native": ">=0.59.0"
4040
},
4141
"devDependencies": {
42-
"@commitlint/config-conventional": "^8.1.0",
42+
"@commitlint/config-conventional": "^17.0.3",
4343
"@react-native-community/eslint-config": "^0.0.5",
44-
"@semantic-release/changelog": "^3.0.4",
45-
"@semantic-release/git": "^7.0.16",
44+
"@semantic-release/changelog": "^6.0.1",
45+
"@semantic-release/git": "^10.0.1",
4646
"@types/react": "^16.9.2",
4747
"@types/react-native": "^0.60.13",
4848
"commitlint": "^8.1.0",
@@ -53,7 +53,7 @@
5353
"pretty-quick": "^1.11.1",
5454
"react": "^16.8.3",
5555
"react-native": "^0.59.10",
56-
"semantic-release": "^15.13.24",
56+
"semantic-release": "^19.0.3",
5757
"typescript": "^3.6.3"
5858
}
5959
}

0 commit comments

Comments
 (0)