From c3a3242813cfc4a067af6e0cd98994ff9b790509 Mon Sep 17 00:00:00 2001 From: AndrewMamdouh <68063809+AndrewMamdouh@users.noreply.github.com> Date: Wed, 28 Aug 2024 15:11:25 +0300 Subject: [PATCH] ci(yarn): update lint workflow --- .github/workflows/lint.yml | 11 ++++++----- .yarnrc.yml | 13 +++++++++++++ 2 files changed, 19 insertions(+), 5 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index c8fd1d2..8ea4651 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -7,14 +7,15 @@ jobs: trunk-check: runs-on: ubuntu-latest steps: + - name: Check Out Repository + uses: actions/checkout@v4 - name: Install Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: 'lts/Hydrogen' - - uses: actions/checkout@v3 + node-version: lts/Hydrogen - name: Install Dependencies run: | - corepack enable - yarn install --immutable --immutable-cache --check-cache + corepack enable + yarn install --immutable --immutable-cache --check-cache - name: Trunk Check uses: trunk-io/trunk-action@v1.1.16 diff --git a/.yarnrc.yml b/.yarnrc.yml index 3186f3f..b058ba7 100644 --- a/.yarnrc.yml +++ b/.yarnrc.yml @@ -1 +1,14 @@ nodeLinker: node-modules +supportedArchitectures: + os: + - darwin + - linux + - win32 + cpu: + - x64 + - x86 + - arm + - ia32 + libc: + - glibc + - musl