diff --git a/.github/workflows/release-packages.yml b/.github/workflows/release-packages.yml index 64344673c..75a5b7ae5 100644 --- a/.github/workflows/release-packages.yml +++ b/.github/workflows/release-packages.yml @@ -6,30 +6,30 @@ on: types: [created] jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: 18 - - run: yarn install --immutable - - run: yarn g:build - - publish-gpr: - needs: build + build-and-publish: + name: Build and Publish runs-on: ubuntu-latest permissions: packages: write contents: read steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - name: Checkout code + uses: actions/checkout@v4 + + - name: Setup Node.js + uses: actions/setup-node@v4 with: node-version: 18 registry-url: https://npm.pkg.github.com/ - - run: yarn install --immutable - - run: | + + - name: Install dependencies + run: yarn install --immutable + + - name: Build packages + run: yarn g:build + + - name: Publish to GitHub Packages + run: | npm publish -w @helix-bridge/sdk-core npm publish -w @helix-bridge/v2-sdk npm publish -w @helix-bridge/v3-sdk diff --git a/sdks/router-sdk/package.json b/sdks/router-sdk/package.json index ee808bbf6..8b7e559f7 100644 --- a/sdks/router-sdk/package.json +++ b/sdks/router-sdk/package.json @@ -1,6 +1,6 @@ { "name": "@helix-bridge/router-sdk", - "version": "1.0.0", + "version": "1.0.1", "description": "An sdk for routing swaps using Uniswap v2 and Uniswap v3.", "repository": "https://github.com/Uniswap/sdks.git", "keywords": [ diff --git a/sdks/sdk-core/package.json b/sdks/sdk-core/package.json index b9c4a2e3b..690110305 100644 --- a/sdks/sdk-core/package.json +++ b/sdks/sdk-core/package.json @@ -1,6 +1,6 @@ { "name": "@helix-bridge/sdk-core", - "version": "1.0.0", + "version": "1.0.1", "description": "⚒️ An SDK for building applications on top of Uniswap V3", "repository": "https://github.com/Uniswap/sdks.git", "keywords": [ diff --git a/sdks/uniswapx-sdk/package.json b/sdks/uniswapx-sdk/package.json index 02b06a8a8..bad5f6123 100644 --- a/sdks/uniswapx-sdk/package.json +++ b/sdks/uniswapx-sdk/package.json @@ -1,6 +1,6 @@ { "name": "@helix-bridge/uniswapx-sdk", - "version": "1.0.0", + "version": "1.0.1", "author": "Uniswap", "repository": "https://github.com/Uniswap/sdks.git", "keywords": [ diff --git a/sdks/universal-router-sdk/package.json b/sdks/universal-router-sdk/package.json index 8aba49f21..f46a66499 100644 --- a/sdks/universal-router-sdk/package.json +++ b/sdks/universal-router-sdk/package.json @@ -1,6 +1,6 @@ { "name": "@helix-bridge/universal-router-sdk", - "version": "1.0.0", + "version": "1.0.1", "description": "sdk for integrating with the Universal Router contracts", "repository": "https://github.com/Uniswap/sdks.git", "keywords": [ diff --git a/sdks/v2-sdk/package.json b/sdks/v2-sdk/package.json index 4ecc40b17..f3c86fbfa 100644 --- a/sdks/v2-sdk/package.json +++ b/sdks/v2-sdk/package.json @@ -1,6 +1,6 @@ { "name": "@helix-bridge/v2-sdk", - "version": "1.0.0", + "version": "1.0.1", "description": "🛠 An SDK for building applications on top of Uniswap V2", "repository": "https://github.com/Uniswap/sdks.git", "keywords": [ diff --git a/sdks/v3-sdk/package.json b/sdks/v3-sdk/package.json index ec0ccb86f..701cf4ec2 100644 --- a/sdks/v3-sdk/package.json +++ b/sdks/v3-sdk/package.json @@ -1,6 +1,6 @@ { "name": "@helix-bridge/v3-sdk", - "version": "1.0.0", + "version": "1.0.1", "description": "⚒️ An SDK for building applications on top of Uniswap V3", "repository": "https://github.com/Uniswap/sdks.git", "keywords": [