Skip to content

fix : improve clarity of yarn parallel scripts (#55) #109

fix : improve clarity of yarn parallel scripts (#55)

fix : improve clarity of yarn parallel scripts (#55) #109

Workflow file for this run

name: Lint and Type Check
on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
- develop
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Enable Corepack
run: corepack enable
- name: Get Yarn version
id: yarn-version
run: echo "YARN_VERSION=$(yarn --version)" >> $GITHUB_OUTPUT
- name: Cache Yarn dependencies
uses: actions/cache@v3
with:
path: .yarn/cache
key: ${{ runner.os }}-yarn-${{ steps.yarn-version.outputs.YARN_VERSION }}-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-${{ steps.yarn-version.outputs.YARN_VERSION }}-
- name: Install dependencies
run: yarn install --immutable
- name: Build core
run: yarn core build
- name: Run TypeScript type check
run: yarn typecheck
- name: Run ESLint
run: yarn lint