Skip to content

feat(APP-3659): Implement new proposal voting components to handle multibody stages #2022

feat(APP-3659): Implement new proposal voting components to handle multibody stages

feat(APP-3659): Implement new proposal voting components to handle multibody stages #2022

Workflow file for this run

name: Library test
on:
pull_request:
push:
branches:
- main
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
env:
NODE_VERSION: 20
NODE_CACHE: "yarn"
jobs:
prepare:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/[email protected]
- name: Setup Node
uses: actions/[email protected]
with:
node-version: ${{ env.NODE_VERSION }}
cache: ${{ env.NODE_CACHE }}
- name: Install dependencies
run: yarn install --immutable
- name: Build library
run: yarn build
- name: Build storybook
run: yarn build:storybook
test:
needs: prepare
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/[email protected]
- name: Setup Node
uses: actions/[email protected]
with:
node-version: ${{ env.NODE_VERSION }}
cache: ${{ env.NODE_CACHE }}
- name: Install dependencies
run: yarn install --immutable
- name: Run tests with coverage
run: |
set -eo pipefail
yarn test:coverage
- name: Check types
run: yarn type-check
- name: Check linter
run: yarn lint
- name: Check prettier
run: yarn prettify
- name: Enforce changelog
if: github.ref != 'refs/heads/main'
uses: dangoslen/[email protected]