Skip to content

Commit

Permalink
ci: build project before publish to NPM (#57)
Browse files Browse the repository at this point in the history
## 📚 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.
  • Loading branch information
mheob authored Feb 25, 2024
1 parent fba19e8 commit 2d2e4a1
Show file tree
Hide file tree
Showing 3 changed files with 121 additions and 118 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ jobs:
- name: Install Dependencies
run: pnpm install --frozen-lockfile

- name: Build the project
run: pnpm build

- name: Release binary
run: npm publish
env:
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@
"@mheob/eslint-config": "^5.2.0",
"@mheob/prettier-config": "^3.2.0",
"@mheob/tsconfig": "^2.0.0",
"@types/node": "^20.11.19",
"@types/node": "^20.11.20",
"@vitest/coverage-v8": "^1.3.1",
"commitizen": "^4.3.0",
"concurrently": "^8.2.2",
"cz-git": "^1.8.0",
"eslint": "^8.56.0",
"husky": "^9.0.0",
"eslint": "^8.57.0",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"rimraf": "^5.0.5",
Expand Down
Loading

0 comments on commit 2d2e4a1

Please sign in to comment.