Skip to content

Commit

Permalink
fix: attempt to resolve wrong workflow and publish
Browse files Browse the repository at this point in the history
  • Loading branch information
vboechat committed May 21, 2024
1 parent 2a16247 commit 7a5f768
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ jobs:
registry-url: 'https://registry.npmjs.org/'

- name: Install dependencies
run: yarn install
run: npm install

- name: Build project
run: yarn build
run: npm run build

- name: Bump version in package.json
run: |
Expand Down
11 changes: 7 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,15 @@
"email": "[email protected]",
"url": "https://www.vboechat.com.br"
},
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"bin": {
"heic-conversor": "./dist/index.js"
"heic-conversor": "dist/index.js"
},
"files": [
"dist"
],
"scripts": {
"postinstall": "ts-node ./src/postinstall.ts",
"build": "tsc",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
"declarationDir": "./dist",
"emitDeclarationOnly": false,
},
"include": ["src/**/*"],
"include": ["src"],
"exclude": ["node_modules"]
}

0 comments on commit 7a5f768

Please sign in to comment.