Skip to content

Commit

Permalink
ci(taiko-client,repo): fix broken workflows (#17034)
Browse files Browse the repository at this point in the history
Co-authored-by: David <[email protected]>
  • Loading branch information
dionysuzx and davidtaikocha authored May 8, 2024
1 parent 8c07db3 commit 3563729
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 22 deletions.
41 changes: 21 additions & 20 deletions .github/workflows/taiko-client-swagger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,27 +38,28 @@ jobs:
working-directory: packages/taiko-client
run: ./scripts/gen_swagger_json.sh

deploy:
if: ${{ always() }}
needs: build
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
name: github pages deploy swagger docs
runs-on: ubuntu-latest
# TODO(d1onys1us/RogerLamTd): Fix this (should probably deploy to vercel)
# deploy:
# if: ${{ always() }}
# needs: build
# environment:
# name: github-pages
# url: ${{ steps.deployment.outputs.page_url }}
# name: github pages deploy swagger docs
# runs-on: ubuntu-latest

steps:
- name: checkout
uses: actions/checkout@v2
# steps:
# - name: checkout
# uses: actions/checkout@v2

- name: Setup Pages
uses: actions/configure-pages@v3
# - name: Setup Pages
# uses: actions/configure-pages@v3

- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: "packages/taiko-client"
# - name: Upload artifact
# uses: actions/upload-pages-artifact@v2
# with:
# path: "packages/taiko-client"

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
# - name: Deploy to GitHub Pages
# id: deployment
# uses: actions/deploy-pages@v2
6 changes: 4 additions & 2 deletions packages/taiko-client/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# taiko-client

[![CI](https://github.com/taikoxyz/taiko-mono/packages/taiko-client/actions/workflows/taiko-client-test.yml/badge.svg)](https://github.com/taikoxyz/taiko-mono/packages/taiko-client/actions/workflows/taiko-client-test.yml)
[![Codecov](https://img.shields.io/codecov/c/github/taikoxyz/taiko-mono/packages/taiko-client?logo=codecov&token=OH6BJMVP6O)](https://codecov.io/gh/taikoxyz/taiko-mono/packages/taiko-client)
[![CI](https://github.com/taikoxyz/taiko-mono/actions/workflows/taiko-client-test.yml/badge.svg)](https://github.com/taikoxyz/taiko-mono/actions/workflows/taiko-client-test.yml)

<!-- TODO(d1onys1us): fix codecov integration -->
<!-- [![Codecov](https://img.shields.io/codecov/c/github/taikoxyz/taiko-mono/packages/taiko-client?logo=codecov&token=OH6BJMVP6O)](https://codecov.io/gh/taikoxyz/taiko-mono/packages/taiko-client) -->

Taiko protocol's client software implementation in Go. Learn more about Taiko nodes with [the docs](https://docs.taiko.xyz/core-concepts/taiko-nodes/).

Expand Down
5 changes: 5 additions & 0 deletions packages/taiko-client/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"name": "taiko-client",
"version": "0.22.0",
"private": true
}

0 comments on commit 3563729

Please sign in to comment.