From b10fd35aff8ec3c5323a1a1bbb576d742d1ec8d2 Mon Sep 17 00:00:00 2001 From: Jordon Leach <40806497+jordojordo@users.noreply.github.com> Date: Wed, 4 Sep 2024 14:05:25 -0400 Subject: [PATCH] Update publish-shell workflow with corepack (#11820) --- .github/workflows/release-shell-pkg.yaml | 7 ++++++- .github/workflows/scripts/check-package-tag-version.sh | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-shell-pkg.yaml b/.github/workflows/release-shell-pkg.yaml index eed1093a2d6..9caef82bee0 100644 --- a/.github/workflows/release-shell-pkg.yaml +++ b/.github/workflows/release-shell-pkg.yaml @@ -18,9 +18,14 @@ jobs: fetch-depth: 0 persist-credentials: false - - uses: actions/setup-node@v4 + - name: Enable Corepack + run: corepack enable + + - name: Setup Node.js + uses: actions/setup-node@v4 with: node-version-file: '.nvmrc' + cache: 'yarn' - name: Check Tags Version Matching env: diff --git a/.github/workflows/scripts/check-package-tag-version.sh b/.github/workflows/scripts/check-package-tag-version.sh index 58092a18b52..ec1b06e6a11 100755 --- a/.github/workflows/scripts/check-package-tag-version.sh +++ b/.github/workflows/scripts/check-package-tag-version.sh @@ -7,7 +7,7 @@ BASE_DIR="$( pwd )" SHELL_DIR=$BASE_DIR/shell -CREATORS_DIR=$BASE_DIR/shell/creators/extension +CREATORS_DIR=$BASE_DIR/creators/extension echo "TAG ${TAG}"