File tree Expand file tree Collapse file tree 2 files changed +16
-12
lines changed Expand file tree Collapse file tree 2 files changed +16
-12
lines changed Original file line number Diff line number Diff line change @@ -31,21 +31,23 @@ jobs:
3131 - name : Set version
3232 run : npm --no-git-tag-version version ${{ env.PACKAGE_VERSION }}-canary.$(date +'%Y%m%d') -w packages/wallet-sdk
3333
34+ # Change to the wallet-sdk directory
35+ - name : Change to wallet-sdk directory
36+ run : cd packages/wallet-sdk
37+
3438 # Build the package
35- - name : Prebuild
36- run : yarn workspace @coinbase/wallet-sdk prebuild
39+ - name : Prebuild Packages
40+ run : yarn prebuild
3741
3842 - name : Build Packages
39- run : yarn workspace @coinbase/wallet-sdk build
43+ run : yarn build
4044
4145 # Publish to npm
4246 - name : Set deployment token
4347 run : npm config set '//registry.npmjs.org/:_authToken' "${{ secrets.NPM_TOKEN }}"
4448
4549 - name : Publish to npm
46- run : |
47- cd packages/wallet-sdk
48- npm publish --tag canary
50+ run : npm publish --tag canary
4951 env :
5052 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
5153
Original file line number Diff line number Diff line change @@ -31,20 +31,22 @@ jobs:
3131 - name : Set version
3232 run : npm version ${{ env.PACKAGE_VERSION }} -w packages/wallet-sdk
3333
34+ # Change to the wallet-sdk directory
35+ - name : Change to wallet-sdk directory
36+ run : cd packages/wallet-sdk
37+
3438 # Build the package
35- - name : Prebuild
36- run : yarn workspace @coinbase/wallet-sdk prebuild
39+ - name : Prebuild Packages
40+ run : yarn prebuild
3741
3842 - name : Build Packages
39- run : yarn workspace @coinbase/wallet-sdk build
43+ run : yarn build
4044
4145 # Publish to npm
4246 - name : Set deployment token
4347 run : npm config set '//registry.npmjs.org/:_authToken' "${{ secrets.NPM_TOKEN }}"
4448
4549 - name : Publish to npm
46- run : |
47- cd packages/wallet-sdk
48- npm publish --tag latest
50+ run : npm publish --tag latest
4951 env :
5052 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments