From 1ba24e6c23fa3cecb5ce5f0f5c138b9939e0353b Mon Sep 17 00:00:00 2001 From: Pavan Soratur Date: Thu, 7 Nov 2024 05:14:44 -0800 Subject: [PATCH] chore: update workflows --- .github/workflows/check-clean.yml | 25 +++++++++++++++++++++++-- .github/workflows/release.yml | 7 ++++++- 2 files changed, 29 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check-clean.yml b/.github/workflows/check-clean.yml index 6dea1a6..a03f320 100644 --- a/.github/workflows/check-clean.yml +++ b/.github/workflows/check-clean.yml @@ -24,11 +24,16 @@ jobs: uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - cache: 'yarn' - name: Enable Corepack run: corepack enable + - name: Setup Yarn cache + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + cache: 'yarn' + - name: Install dependencies run: yarn install --immutable @@ -48,11 +53,16 @@ jobs: uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - cache: 'yarn' - name: Enable Corepack run: corepack enable + - name: Setup Yarn cache + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + cache: 'yarn' + - name: Install dependencies run: yarn install --immutable @@ -69,11 +79,22 @@ jobs: - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + + - name: Enable Corepack + run: corepack enable + + - name: Setup Yarn cache uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} cache: 'yarn' + - name: Install dependencies + run: yarn install --immutable + - name: ts-check run: | yarn install --immutable diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c85c9d6..633c4d6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,11 +27,16 @@ jobs: uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - cache: 'yarn' - name: Enable Corepack run: corepack enable + - name: Setup Yarn cache + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + cache: 'yarn' + - name: Install dependencies run: yarn install --immutable