Skip to content

Commit

Permalink
feat: automate changesets (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
okwasniewski authored Dec 11, 2024
1 parent ad3040a commit aa04554
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://unpkg.com/@changesets/config@3.0.4/schema.json",
"changelog": "@changesets/cli/changelog",
"changelog": ["@changesets/changelog-github", { "repo": "okwasniewski/react-native-bottom-tabs" }],
"commit": true,
"fixed": [
[
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,12 @@ jobs:
- name: Install Dependencies
run: yarn

- name: Create Release Pull Request
- name: Create Release Pull Request or Publish to NPM
uses: changesets/action@v1
with:
publish: yarn publish-packages
commit: "chore(release): version packages"
title: "chore(release): version packages"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit aa04554

Please sign in to comment.