From 20f0195a8f250cf2faab2f5186a95d91cb4d952b Mon Sep 17 00:00:00 2001 From: Francesc Pellicero Date: Fri, 22 Mar 2024 16:00:09 +0100 Subject: [PATCH] Run corepack enable before setup-node (#77) --- .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: |