From 41b3d3389f17929eb6ca94f7851557195eb8e277 Mon Sep 17 00:00:00 2001 From: planctus Date: Thu, 3 Oct 2024 11:12:32 +0300 Subject: [PATCH] chore(chromatic): Using yarn to install deps in the workflow --- .github/workflows/chromatic.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/chromatic.yml b/.github/workflows/chromatic.yml index c5148808b86..56831d311f2 100644 --- a/.github/workflows/chromatic.yml +++ b/.github/workflows/chromatic.yml @@ -12,10 +12,12 @@ jobs: chromatic-ec: runs-on: ubuntu-latest steps: - - name: Checkout code - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 20.9.0 - name: Install dependencies - run: npm install + run: yarn install --frozen-lockfile - name: Run Chromatic for EC run: npm run chromatic-EC env: @@ -24,10 +26,12 @@ jobs: chromatic-eu: runs-on: ubuntu-latest steps: - - name: Checkout code - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 20.9.0 - name: Install dependencies - run: npm install + run: yarn install --frozen-lockfile - name: Run Chromatic for EU run: npm run chromatic-EU env: