Skip to content

Commit

Permalink
fix(build): downgrade swc cli because dist was generated in a wrong w…
Browse files Browse the repository at this point in the history
…ay and check is build correctly
  • Loading branch information
Albert Hernandez Pellicer committed Jan 27, 2024
1 parent a0e5703 commit 882095a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 51 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,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/index.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/index.js
npm run test
54 changes: 5 additions & 49 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"devDependencies": {
"@commitlint/cli": "^18.6.0",
"@commitlint/config-conventional": "^18.6.0",
"@swc/cli": "^0.3.2",
"@swc/cli": "^0.1.65",
"@swc/core": "^1.3.106",
"@swc/jest": "^0.2.31",
"@types/fs-extra": "^11.0.4",
Expand Down

0 comments on commit 882095a

Please sign in to comment.