Skip to content

Commit

Permalink
Fix release process (#11)
Browse files Browse the repository at this point in the history
* Change how releases work

* Add test release
  • Loading branch information
mattvagni authored Nov 19, 2024
1 parent ef67730 commit 3de5608
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/rotten-badgers-give.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@team-plain/cli": patch
---

Test release process
7 changes: 6 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,16 @@ jobs:
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- uses: tibdex/github-app-token@v1
id: generate-token
with:
app_id: ${{ secrets.GH_WORKFLOW_APP_ID }}
private_key: ${{ secrets.GH_WORKFLOW_APP_PRIVATE_KEY }}
- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
publish: pnpm run release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 3de5608

Please sign in to comment.