Skip to content

Commit 2d2e4a1

Browse files
authored
ci: build project before publish to NPM (#57)
## 📚 Summary Add build step before publishing to NPM in the GitHub workflow. ## 📋 Side Changes Also update all minor dependencies. ## 📌 Related Issues Resolves #56 ## Summary by CodeRabbit - **Chores** - Improved the release process by adding a build step before releasing the binary.
1 parent fba19e8 commit 2d2e4a1

File tree

3 files changed

+121
-118
lines changed

3 files changed

+121
-118
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ jobs:
3131
- name: Install Dependencies
3232
run: pnpm install --frozen-lockfile
3333

34+
- name: Build the project
35+
run: pnpm build
36+
3437
- name: Release binary
3538
run: npm publish
3639
env:

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,13 @@
5656
"@mheob/eslint-config": "^5.2.0",
5757
"@mheob/prettier-config": "^3.2.0",
5858
"@mheob/tsconfig": "^2.0.0",
59-
"@types/node": "^20.11.19",
59+
"@types/node": "^20.11.20",
6060
"@vitest/coverage-v8": "^1.3.1",
6161
"commitizen": "^4.3.0",
6262
"concurrently": "^8.2.2",
6363
"cz-git": "^1.8.0",
64-
"eslint": "^8.56.0",
65-
"husky": "^9.0.0",
64+
"eslint": "^8.57.0",
65+
"husky": "^9.0.11",
6666
"lint-staged": "^15.2.2",
6767
"prettier": "^3.2.5",
6868
"rimraf": "^5.0.5",

0 commit comments

Comments
 (0)