-
Notifications
You must be signed in to change notification settings - Fork 371
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated types imports, fixed workflow config
- Loading branch information
1 parent
405f163
commit b351725
Showing
10 changed files
with
19 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,6 +37,16 @@ jobs: | |
scope: "@gmx-io" | ||
auth-token: ${{ secrets.NPM_TOKEN }} | ||
|
||
- name: Import GPG Key | ||
run: | | ||
echo "${{ secrets.GPG_KEY }}" | gpg --batch --yes --import | ||
git config --global gpg.program gpg | ||
git config --global commit.gpgsign true | ||
git config user.name "GMX Release Bot" | ||
git config user.email "[email protected]" | ||
env: | ||
GPG_KEY: ${{ secrets.GPG_KEY }} | ||
|
||
- name: Install dependencies | ||
working-directory: ./sdk | ||
run: yarn install --immutable | ||
|
@@ -64,10 +74,8 @@ jobs: | |
- name: Commit version bump | ||
working-directory: ./sdk | ||
run: | | ||
git config user.name "GMX Release Bot" | ||
git config user.email "[email protected]" | ||
git add package.json | ||
git commit -m "Bump SDK version to $(jq -r .version package.json)" | ||
git commit -S -m "Bump SDK version to $(jq -r .version package.json)" | ||
- run: npm publish --access public | ||
working-directory: ./sdk | ||
|
@@ -79,5 +87,4 @@ jobs: | |
if [ "${{ github.event.inputs.version_type }}" == "custom" ]; then | ||
exit 0 | ||
fi | ||
git push origin HEAD:${{ github.ref_name }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
export * from "./utils"; | ||
export * from "./types"; | ||
export * from "sdk/types/tokens"; | ||
export * from "./useInfoTokens"; | ||
export * from "./approveTokens"; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters