From d7dd39a3f47b1cedde9bd56fe24654b4efb77e4b Mon Sep 17 00:00:00 2001 From: Skydust Date: Sat, 8 Feb 2025 15:17:08 +0100 Subject: [PATCH] Upgrading corepack before install --- action.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/action.yml b/action.yml index fcf772c..684bfa1 100644 --- a/action.yml +++ b/action.yml @@ -20,6 +20,10 @@ runs: shell: sh run: | cd "${{ inputs.path }}" + + log_info "Updating corepack to latest" + npm install -g corepack@latest + if ! corepack install; then log_info "Finding out the package manager used"