feat(tangle-dapp): Create table listing liquid staking pools #2600
Workflow file for this run
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
# .github/workflows/chromatic.yml | |
# Workflow name | |
name: 'visual ✨' | |
on: | |
pull_request: | |
# types: [opened, synchronize, reopened, ready_for_review] | |
branches: [develop, feature/**] | |
workflow_dispatch: | |
# List of jobs | |
jobs: | |
check: | |
name: check | |
# Operating System | |
runs-on: ubuntu-latest | |
# Job steps | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Enable corepack | |
run: | | |
corepack enable | |
corepack prepare [email protected] --activate | |
yarn set version 4.2.2 | |
- name: Setup Node.js environment | |
uses: actions/[email protected] | |
with: | |
node-version: '>=18.12.x' | |
cache: yarn | |
- name: Install dependencies | |
# 👇 Install dependencies with the same package manager used in the project (replace it as needed), e.g. yarn, npm, pnpm | |
run: yarn | |
# 👇 Adds Chromatic as a step in the workflow | |
- name: Publish to Chromatic | |
uses: chromaui/action@v11 | |
# Chromatic GitHub Action options | |
with: | |
# 👇 Chromatic projectToken, refer to the manage page to obtain it. | |
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} | |
buildScriptName: 'build:storybook' | |
exitZeroOnChanges: true # 👈 Option to prevent the workflow from failing |