ee4f5da834
* Add nym-node page api WIP * nym-node page api WIP * Add rewards card * Add account balances * fix build * Add USD price to tokenomics card * fix build * fix build * fix build * Refactor ProgressBar * Add profile card * fix build * replace hardcoded id * Add build version and node roles * fix build * rename id param to address * add node table to explorer page * get node details from unstable endpoint + layout updates * allow node select from table * stop propogation on favorite/unfavorite * update self bond data * card refactors * revert node engine requirement * use node v20 --------- Co-authored-by: Yana <yanok87@users.noreply.github.com> Co-authored-by: fmtabbara <fmtabbara@hotmail.co.uk>
49 lines
1.6 KiB
YAML
49 lines
1.6 KiB
YAML
name: ci-build-ts
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
pull_request:
|
|
paths:
|
|
- "ts-packages/**"
|
|
- "sdk/typescript/**"
|
|
- ".github/workflows/ci-build-ts.yml"
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: arc-ubuntu-20.04
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Install rsync
|
|
run: sudo apt-get install rsync
|
|
continue-on-error: true
|
|
- uses: rlespinasse/github-slug-action@v3.x
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 20
|
|
- name: Setup yarn
|
|
run: npm install -g yarn
|
|
- name: Build
|
|
run: yarn && yarn build && yarn build:ci:storybook
|
|
- name: Deploy branch to CI www (storybook)
|
|
continue-on-error: true
|
|
uses: easingthemes/ssh-deploy@main
|
|
env:
|
|
SSH_PRIVATE_KEY: ${{ secrets.CI_WWW_SSH_PRIVATE_KEY }}
|
|
ARGS: "-rltgoDzvO --delete"
|
|
SOURCE: "ts-packages/dist/storybook/"
|
|
REMOTE_HOST: ${{ secrets.CI_WWW_REMOTE_HOST }}
|
|
REMOTE_USER: ${{ secrets.CI_WWW_REMOTE_USER }}
|
|
TARGET: ${{ secrets.CI_WWW_REMOTE_TARGET }}/ts-${{ env.GITHUB_REF_SLUG }}
|
|
EXCLUDE: "/dist/, /node_modules/"
|
|
- name: Deploy branch to CI www (example)
|
|
continue-on-error: true
|
|
uses: easingthemes/ssh-deploy@main
|
|
env:
|
|
SSH_PRIVATE_KEY: ${{ secrets.CI_WWW_SSH_PRIVATE_KEY }}
|
|
ARGS: "-rltgoDzvO --delete"
|
|
SOURCE: "ts-packages/dist/example/"
|
|
REMOTE_HOST: ${{ secrets.CI_WWW_REMOTE_HOST }}
|
|
REMOTE_USER: ${{ secrets.CI_WWW_REMOTE_USER }}
|
|
TARGET: ${{ secrets.CI_WWW_REMOTE_TARGET }}/ts-${{ env.GITHUB_REF_SLUG }}-example
|
|
EXCLUDE: "/dist/, /node_modules/"
|