From beeae04311b7e50f4f2fb263dd2946497a80cbbb Mon Sep 17 00:00:00 2001 From: Pavan Soratur Date: Wed, 6 Nov 2024 08:29:39 -0800 Subject: [PATCH] chore: add corepack enable in workflow --- .github/workflows/check-clean.yml | 30 ++++++++++++++++++------------ 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/.github/workflows/check-clean.yml b/.github/workflows/check-clean.yml index b055cd3..fd52be8 100644 --- a/.github/workflows/check-clean.yml +++ b/.github/workflows/check-clean.yml @@ -23,10 +23,12 @@ jobs: uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - - name: format - run: | - yarn install - yarn format:check + - name: Enable Corepack + run: corepack enable + - name: Install dependencies + run: yarn install + - name: Format Check + run: yarn format:check lint: name: lint @@ -40,10 +42,12 @@ jobs: uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - - name: lint - run: | - yarn install - yarn lint:check + - name: Enable Corepack + run: corepack enable + - name: Install dependencies + run: yarn install + - name: Lint Check + run: yarn lint:check ts-check: name: ts-check @@ -57,7 +61,9 @@ jobs: uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - - name: ts-check - run: | - yarn install - yarn ts-check + - name: Enable Corepack + run: corepack enable + - name: Install dependencies + run: yarn install + - name: Type Check + run: yarn ts-check