Skip to content

Commit 4ed1c7e

Browse files
Install tsx and run build in CI
1 parent 1680fe7 commit 4ed1c7e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/npm-publish.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ jobs:
1212
with:
1313
node-version: 'latest'
1414
- run: npm ci
15+
- run: npm install -g tsx
16+
- run: npm run build # Add build step if needed
1517
- run: npm test
1618

1719
publish:
@@ -24,6 +26,8 @@ jobs:
2426
with:
2527
node-version: 'latest'
2628
- run: npm ci
29+
- run: npm install -g tsx
30+
- run: npm run build # Add build step here too
2731
- uses: JS-DevTools/npm-publish@v3
2832
with:
2933
token: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)