Skip to content

Commit

Permalink
Upgrade to Yarn Berry
Browse files Browse the repository at this point in the history
  • Loading branch information
mrtnzlml committed Mar 7, 2022
1 parent 7295891 commit 36758b3
Show file tree
Hide file tree
Showing 14 changed files with 21,117 additions and 162,906 deletions.
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

0 comments on commit 36758b3

Please sign in to comment.