From ed052c90acbcc264293e64fc77454f575dcd941f Mon Sep 17 00:00:00 2001 From: Francesc Pellicero Date: Fri, 22 Mar 2024 15:14:31 +0100 Subject: [PATCH] Run corepack enable before setup-node --- .github/workflows/publish.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 42bb582..e5e50fc 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -11,15 +11,16 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: '20.8.0' - cache: 'yarn' # Enable Corepack - name: Enable Corepack run: corepack enable + - uses: actions/setup-node@v4 + with: + node-version: '20.8.0' + cache: 'yarn' + # Verify Corepack and Yarn versions - name: Verify Corepack and Yarn versions run: |