Skip to content

Commit aa04554

Browse files
authored
feat: automate changesets (#190)
1 parent ad3040a commit aa04554

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.changeset/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://unpkg.com/@changesets/config@3.0.4/schema.json",
3-
"changelog": "@changesets/cli/changelog",
3+
"changelog": ["@changesets/changelog-github", { "repo": "okwasniewski/react-native-bottom-tabs" }],
44
"commit": true,
55
"fixed": [
66
[

.github/workflows/release.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,12 @@ jobs:
2323
- name: Install Dependencies
2424
run: yarn
2525

26-
- name: Create Release Pull Request
26+
- name: Create Release Pull Request or Publish to NPM
2727
uses: changesets/action@v1
28+
with:
29+
publish: yarn publish-packages
30+
commit: "chore(release): version packages"
31+
title: "chore(release): version packages"
2832
env:
2933
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)