Skip to content

Commit

Permalink
fix: build before publish
Browse files Browse the repository at this point in the history
  • Loading branch information
acro5piano committed Jun 24, 2024
1 parent 4af8f21 commit 760dbf6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
test -n "$NPM_TOKEN"
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc
pnpm install
npm publish
pnpm build
pnpm publish
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "kysely-migration-cli",
"version": "0.4.1",
"version": "0.4.2",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"repository": "[email protected]:acro5piano/kysely-migration-cli",
Expand All @@ -18,7 +18,6 @@
"README.md"
],
"scripts": {
"prepublish": "tsc",
"build": "tsc",
"r": "tsc && node dist/index.js"
},
Expand Down

0 comments on commit 760dbf6

Please sign in to comment.