Skip to content

Commit

Permalink
Merge pull request #3 from Flincap/dist_build_fix
Browse files Browse the repository at this point in the history
fix: Used pnpm build command in github action
  • Loading branch information
SpiffGreen committed Jul 25, 2023
2 parents 5f04cdb + 722b798 commit e6cc0f5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/rich-dogs-draw.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"flincap-sdk": patch
---

Used pnpm build command in github action
1 change: 1 addition & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
- name: Publish to npm
run: |
npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN}
pnpm run build
npm publish --ignore-scripts --access public
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "tsup ./src/index.ts --format cjs,esm --dts",
"prepublishOnly": "npm run build",
"lint": "tsc",
"change": "changeset"
},
Expand Down

0 comments on commit e6cc0f5

Please sign in to comment.