From 895c331583eaad1a1dd6e15cc91143462a9d26f0 Mon Sep 17 00:00:00 2001 From: Haoxiang Fei Date: Fri, 5 Apr 2024 02:08:49 +0800 Subject: [PATCH] fix: enable corepack after setting up node --- .github/workflows/main.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 95b7c44..deb17e0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -21,6 +21,10 @@ jobs: with: node-version: latest registry-url: https://registry.npmjs.org + cache: 'yarn' + - name: Setup corepack and yarn + run: | + corepack enable - name: Install dependencies run: | sudo apt-get -y update