Skip to content

Commit

Permalink
publishing fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nsaunders committed May 16, 2024
1 parent d60565b commit 19f0754
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,13 @@ jobs:
id: changesets
uses: changesets/action@v1
with:
commit: version packages
title: version packages
publish: pnpm -r publish --access public && pnpm exec changeset tag
commit: version packages
version: pnpm ci:version

# https://github.com/changesets/action/issues/246
# https://github.com/changesets/changesets/pull/674
publish: pnpm ci:publish
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,9 @@
"type": "module",
"devDependencies": {
"@changesets/cli": "^2.27.1"
},
"scripts": {
"ci:publish": "pnpm publish -r --access public && changeset tag",
"ci:version": "changeset version && pnpm install --no-frozen-lockfile"
}
}

0 comments on commit 19f0754

Please sign in to comment.