Skip to content

Commit

Permalink
ci: updated release config
Browse files Browse the repository at this point in the history
  • Loading branch information
Rezrazi committed Oct 19, 2024
1 parent 4340c2e commit 0b3f5bb
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Run unit tests
run: yarn test --maxWorkers=2 --coverage

build-library:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -48,4 +48,4 @@ jobs:
uses: ./.github/actions/setup

- name: Build package
run: yarn prepare
run: yarn build
13 changes: 10 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,15 @@
"typecheck": "tsc",
"lint": "eslint \"**/*.{js,ts,tsx}\"",
"clean": "del-cli lib",
"prepare": "bob build",
"build": "bob build",
"release": "release-it"
},
"keywords": [
"react-native",
"chat",
"ui",
"kit",
"nativewind",
"ios",
"android"
],
Expand Down Expand Up @@ -119,10 +123,13 @@
"tagName": "v${version}"
},
"npm": {
"publish": true
"publish": true,
"publishArgs": ["--access public", "--provenance"]
},
"github": {
"release": true
"autoGenerate": true,
"release": true,
"releaseName": "v${version}"
},
"plugins": {
"@release-it/conventional-changelog": {
Expand Down

0 comments on commit 0b3f5bb

Please sign in to comment.