Skip to content

Commit

Permalink
add step to enable yarn to work arounfd a bug with actions/setup-node
Browse files Browse the repository at this point in the history
  • Loading branch information
tmclaugh authored Nov 21, 2024
1 parent abc6d11 commit 57f0f9f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ runs:
exit 1
fi
# Handles known issue with setting packageManager in package.json and
# enabling caching here.
- name: Install Yarn via corepack
shell: bash
run: corepack enable

- name: Setup NodeJS
id: install-node
uses: actions/setup-node@v4
Expand All @@ -44,7 +50,6 @@ runs:
cache: yarn
cache-dependency-path: ${{ inputs.working_directory }}/yarn.lock


- name: Check yarn.lock
id: check-yarn-lock
shell: bash
Expand Down

0 comments on commit 57f0f9f

Please sign in to comment.