Skip to content

Commit

Permalink
Fix changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
krzkaczor committed Jun 16, 2022
1 parent 647b80c commit 4594242
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ jobs:
- name: Create Release Pull Request or Publish to npm
uses: changesets/action@v1
with:
version: pnpm install --no-frozen-lockfile && pnpm changeset version
publish: pnpm release && pnpm install --no-frozen-lockfile
version: pnpm ci:version
publish: pnpm ci:release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@
"test:fix": "pnpm lint:fix && pnpm test && pnpm format:fix && pnpm typecheck",
"no-git-changes": "./scripts/no-git-changes.sh",
"check-examples": "ts-node --transpile-only ./scripts/check-examples.ts",
"prerelease": "pnpm lint && pnpm format && pnpm test && pnpm typecheck",
"release": "pnpm build && pnpm changeset publish"
"ci:version": "pnpm install --no-frozen-lockfile && pnpm changeset version",
"pre:ci:release": "pnpm lint && pnpm format && pnpm test && pnpm typecheck",
"ci:release": "pnpm pre:ci:release && pnpm build && pnpm changeset publish"
},
"devDependencies": {
"@changesets/cli": "^2.22.0",
Expand Down

0 comments on commit 4594242

Please sign in to comment.