Skip to content

Commit

Permalink
Build Models package before publishing (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
pauljohanneskraft authored Sep 9, 2024
1 parent 050a374 commit 0082e08
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release-models-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ jobs:
run: npm ci
- name: Set version
run: npm version ${{ github.event.release.tag_name }}
- name: Build
run: npm run build
- name: Publish
run: npm publish --provenance --access public
env:
Expand Down
4 changes: 4 additions & 0 deletions functions/models/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
"engines": {
"node": "22"
},
"files": [
"lib",
"README.md"
],
"main": "lib/index.js",
"dependencies": {
"zod": "^3.23.8"
Expand Down

0 comments on commit 0082e08

Please sign in to comment.