Skip to content

Commit

Permalink
chore: Update GitHub Actions workflow to use Yarn Berry and improve d…
Browse files Browse the repository at this point in the history
…ependency installation

- Set up Yarn Berry (version 3.5.0) in the workflow.
- Change dependency installation command from `yarn install --frozen-lockfile` to `yarn install --immutable` for better consistency.
- Enhance the workflow for managing dependencies and ensure compatibility with the latest Yarn features.
  • Loading branch information
vladimirvshivkov committed Dec 12, 2024
1 parent 644de90 commit 4aed218
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/bump-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,14 @@ jobs:
node-version: '20'
cache: 'yarn'

- name: Setup Yarn Berry
run: |
corepack enable
corepack prepare [email protected] --activate
yarn set version 3.5.0
- name: Install dependencies
run: yarn install --frozen-lockfile
run: yarn install --immutable

- name: Update dependencies
run: |
Expand Down

0 comments on commit 4aed218

Please sign in to comment.