Skip to content

fix: update chakra-ui monorepo (main) #1802

fix: update chakra-ui monorepo (main)

fix: update chakra-ui monorepo (main) #1802

Workflow file for this run

# Workflow name
name: ESLint & TSC
# Event for the workflow
on: [pull_request]
# List of jobs
jobs:
eslint-tsc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
- name: Use Node.js
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
node-version: lts/*
- name: Get Yarn cache directory
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Use Yarn cache
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }}
- name: Install dependencies
run: yarn install --frozen-lockfile --prefer-offline
# `--prefer-offline` gives cache priority
- name: ESLint
run: yarn lint
- name: TSC
run: yarn type-check