Skip to content

Commit

Permalink
ci: ensure dist main file exists
Browse files Browse the repository at this point in the history
  • Loading branch information
Albert Hernandez Pellicer committed Jan 27, 2024
1 parent 16bae4d commit 0a1b19c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
if: steps.cache-node-modules.outputs.cache-hit != 'true'
run: npm ci
- name: Build typescript 📦
run: npm run build
run: npm run build && find dist/main.js
- name: Lint code 💅
run: npm run lint
- name: Run tests ✅
Expand Down
1 change: 1 addition & 0 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
npm run build
find dist/main.js
npm run test

0 comments on commit 0a1b19c

Please sign in to comment.