Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to Yarn Berry (3.2) #2154

Merged
merged 2 commits into from
Mar 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
'strip-ansi',
],
labels: ['dependencies'],
postUpdateOptions: ['yarnDedupeHighest'],
rangeStrategy: 'bump',
semanticCommits: 'disabled',
updateInternalDeps: true,
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/continuous-integration-javascript.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,8 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: 'yarn'

# Command `yarn install --frozen-lockfile` doesn't always fail if `yarn.lock` is modified
# (see: https://github.com/yarnpkg/yarn/issues/5840). Instead, we are installing the
# dependencies as usual and checking that nothing changed.
- name: Install Yarn dependencies
run: |
yarn install
git diff --exit-code
run: yarn install --immutable

# We are purposefully expecting zero warnings in the output to make sure flowtests are
# working as expected (Flow returns warnings for unused suppression comments).
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/npm-publisher.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ jobs:

- name: publish NPM packages to the registry
run: |
yarn install --frozen-lockfile
yarn install --immutable
yarn monorepo-babel-node scripts/publishNPMPackages.js
2 changes: 1 addition & 1 deletion .github/workflows/shipit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
cache: 'yarn'

- name: Install Yarn dependencies
run: yarn install --frozen-lockfile
run: yarn install --immutable

- name: Prepare Shipit
run: |
Expand Down
12 changes: 9 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ node_modules/

.DS_Store
.env
.flow.saved_state
.flow.saved_state_file_changes
yarn-error.log

# Yarn Berry with "zero installs":
.yarn/*
#!.yarn/cache - TODO: commit
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
Loading