Skip to content

Commit

Permalink
chore(ci): use changeset action
Browse files Browse the repository at this point in the history
  • Loading branch information
noxzym committed Aug 6, 2024
1 parent 85f1dd7 commit 5b2f0a3
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,11 @@ jobs:
- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Compile/Build TypeScript project if present
run: pnpm run --if-present build

- name: Publish package to NPM and GitHub packages registry
run: pnpm run release
- name: Create Release Pull Request or Publish
id: changesets
uses: changesets/action@v1
with:
publish: pnpm run release
env:
NODE_AUTH_TOKEN: ${{ secrets[matrix.token_secret_key] }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 5b2f0a3

Please sign in to comment.