Skip to content

Commit 312f0d5

Browse files
committed
fix(ci): build TypeScript before npm pack in release workflow
1 parent 8713dfd commit 312f0d5

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/release.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,8 @@ jobs:
116116
- name: Build TypeScript package
117117
working-directory: typescript
118118
run: |
119+
npm ci
120+
npm run build
119121
cp ../LICENSE ../NOTICE .
120122
npm pack
121123
rm -f LICENSE NOTICE
@@ -131,7 +133,7 @@ jobs:
131133
set -euo pipefail
132134
TARBALL="$(ls -1 *.tgz | head -n 1)"
133135
echo "Publishing $TARBALL"
134-
npm publish "file:./$TARBALL" --provenance --access public
136+
npm publish "file:./$TARBALL" --provenance
135137
136138
- name: Publish Python package to PyPI (OIDC)
137139
if: hashFiles('python/dist/*.whl') != ''

0 commit comments

Comments
 (0)