Skip to content

Commit

Permalink
Build before release (#9)
Browse files Browse the repository at this point in the history
* build before release

* add changeset
  • Loading branch information
toyamarinyon authored Jun 24, 2022
1 parent 1d2bd65 commit 6afbe08
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/eighty-humans-train.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"webcrypt-session": patch
---

Build before release
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
with:
# Note: pnpm install after versioning is necessary to refresh lockfile
version: pnpm run version
publish: pnpm exec changeset publish
publish: pnpm run release
commit: '[ci] release'
title: '[ci] release'
env:
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"scripts": {
"build": "turbo run build",
"test": "turbo run test",
"version": "changeset version"
"version": "changeset version",
"release": "pnpm build && changeset release"
},
"devDependencies": {
"@changesets/changelog-github": "^0.4.5",
Expand Down

0 comments on commit 6afbe08

Please sign in to comment.