Skip to content

Commit

Permalink
move husky to top level (interfering with publish) (#116)
Browse files Browse the repository at this point in the history
* gha fix

* brackes

* move husky to top level
  • Loading branch information
acharb authored Mar 26, 2024
1 parent d8156b7 commit 0569da3
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/npmPublishSdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:
- run: yarn test:ci

- name: Publish to NPM
run: cd @stellar/typescript-wallet-sdk && yarn publish --access public
run: |
cd @stellar/typescript-wallet-sdk
yarn publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
5 changes: 3 additions & 2 deletions .github/workflows/npmPublishSdkKM.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ jobs:
- run: yarn test:ci

- name: Publish to NPM
run:
cd @stellar/typescript-wallet-sdk-km && yarn publish --access public
run: |
cd @stellar/typescript-wallet-sdk-km
yarn publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
1 change: 0 additions & 1 deletion @stellar/typescript-wallet-sdk-km/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
"tweetnacl-util": "^0.15.1"
},
"scripts": {
"prepare": "husky install",
"test": "jest --watchAll",
"test:ci": "jest --ci",
"build:web": "webpack --config webpack.config.js",
Expand Down
1 change: 0 additions & 1 deletion @stellar/typescript-wallet-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@
"vm-browserify": "^1.1.2"
},
"scripts": {
"prepare": "husky install",
"test": "jest --watchAll",
"test:ci": "jest --ci",
"test:recovery:ci": "jest --config jest.integration.config.js recovery.test.ts --ci",
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"@stellar/typescript-wallet-sdk-km"
],
"scripts": {
"prepare": "husky install",
"lint": "eslint . --ext .ts",
"test": "jest --watchAll",
"test:ci": "jest --ci",
Expand Down

0 comments on commit 0569da3

Please sign in to comment.