diff --git a/.github/actions/setup-node-and-install-dependencies/action.yml b/.github/actions/setup-node-and-install-dependencies/action.yml index 3f04af1..49a1516 100644 --- a/.github/actions/setup-node-and-install-dependencies/action.yml +++ b/.github/actions/setup-node-and-install-dependencies/action.yml @@ -22,6 +22,10 @@ runs: node-version-file: ${{ inputs.node-version-file }} cache-dependency-path: ${{ inputs.dependencies-lock-file }} cache: npm + - name: Enable Corepack + shell: bash + working-directory: ${{ inputs.working-directory }} + run: corepack enable npm - name: Install dependencies shell: bash working-directory: ${{ inputs.working-directory }} diff --git a/TODO b/TODO index 6b49d0f..010e7a8 100644 --- a/TODO +++ b/TODO @@ -19,3 +19,7 @@ vi ~/Library/Application\ Support/com.fournova.Tower3/environment.plist remove ESLINT_USE_FLAT_CONFIG in deploy-now.yaml and the plist above + remove .envrc in cleanup.sh + +* use official corepack support from setup-node action ++ +https://github.com/actions/setup-node/issues/531