Skip to content

chore: ui package import refactor #2183

chore: ui package import refactor

chore: ui package import refactor #2183

Workflow file for this run

name: Sushi - verify
# on:
# workflow_call:
# workflow_dispatch:
on:
pull_request:
types: [opened, synchronize]
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
format:
name: Format
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Clone repository
uses: actions/checkout@v4
with:
token: ${{ secrets.PAT }}
ref: ${{ github.head_ref }}
- name: Install dependencies
uses: ./.github/actions/install
- name: Format
run: pnpm format
- uses: stefanzweifel/git-auto-commit-action@v4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
commit_message: 'chore: format'
commit_user_name: 'github-actions[bot]'
commit_user_email: 'github-actions[bot]@users.noreply.github.com'
lint:
name: Lint
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Clone repository
uses: actions/checkout@v4
with:
token: ${{ secrets.PAT }}
ref: ${{ github.head_ref }}
- name: Install dependencies
uses: ./.github/actions/install
- name: Lint
run: pnpm lint --apply
- uses: stefanzweifel/git-auto-commit-action@v4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
commit_message: 'chore: lint'
commit_user_name: 'github-actions[bot]'
commit_user_email: 'github-actions[bot]@users.noreply.github.com'
# build:
# name: Build
# needs: [lint, format]
# runs-on: ubuntu-latest
# timeout-minutes: 5
# steps:
# - uses: actions/checkout@v3
# with:
# submodules: true
# - name: Install dependencies
# uses: ./.github/actions/install
# - name: Build
# run: pnpm build
types:
name: Types
needs: [lint, format]
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Install dependencies
uses: ./.github/actions/install
- name: Check types
run: pnpm check
test:
name: Test
runs-on: ubuntu-latest
needs: [lint, format]
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Install dependencies
uses: ./.github/actions/install
- name: Test packages
run: pnpm exec turbo run test --filter=./packages/*