Skip to content

Commit

Permalink
Fix publish workflow (#4)
Browse files Browse the repository at this point in the history
* Fix publish workflow

* Bump version
  • Loading branch information
JayJay1024 authored Jul 1, 2024
1 parent 6da28a6 commit 7d838ec
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 22 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/release-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion sdks/router-sdk/package.json
Original file line number Diff line number Diff line change
@@ -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": [
Expand Down
2 changes: 1 addition & 1 deletion sdks/sdk-core/package.json
Original file line number Diff line number Diff line change
@@ -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": [
Expand Down
2 changes: 1 addition & 1 deletion sdks/uniswapx-sdk/package.json
Original file line number Diff line number Diff line change
@@ -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": [
Expand Down
2 changes: 1 addition & 1 deletion sdks/universal-router-sdk/package.json
Original file line number Diff line number Diff line change
@@ -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": [
Expand Down
2 changes: 1 addition & 1 deletion sdks/v2-sdk/package.json
Original file line number Diff line number Diff line change
@@ -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": [
Expand Down
2 changes: 1 addition & 1 deletion sdks/v3-sdk/package.json
Original file line number Diff line number Diff line change
@@ -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": [
Expand Down

0 comments on commit 7d838ec

Please sign in to comment.