Skip to content

Commit

Permalink
Merge pull request #556 from m-shaka/use-changesets-action
Browse files Browse the repository at this point in the history
fix: use changesets action
  • Loading branch information
supermacro authored Jul 18, 2024
2 parents 10b71dd + 10c1e4b commit 69e0537
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,12 @@ jobs:

- run: npm i

- name: Creating .npmrc
run: |
cat << EOF > "$HOME/.npmrc"
//registry.npmjs.org/:_authToken=$NPM_TOKEN
EOF
- name: release
id: changesets
uses: changesets/action@v1
with:
publish: npm run release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Release
run: npm run release

0 comments on commit 69e0537

Please sign in to comment.