Skip to content

Commit

Permalink
fix(ci): build Node.js packager TS code before publish, closes #121 (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasfernog-crabnebula committed Jan 8, 2024
1 parent bfaefc4 commit bd7e6fc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changes/fix-packager-nodejs-publish.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@crabnebula/packager": patch
---

Fixes published package not including the build folder.
2 changes: 2 additions & 0 deletions .github/workflows/publish-packager-nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,8 @@ jobs:
- name: List packages
run: ls -R ./npm
shell: bash
- name: build TS binding
run: pnpm postbuild
- name: Publish
run: |
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
Expand Down

0 comments on commit bd7e6fc

Please sign in to comment.