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 6, 2022
1 parent 3b3e1e4 commit 5db3e0e
Show file tree
Hide file tree
Showing 15 changed files with 23,164 additions and 162,899 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/continuous-integration-javascript.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,13 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: 'yarn'

# TODO: this is no longer true:
# 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
yarn install --immutable
git diff --exit-code
# We are purposefully expecting zero warnings in the output to make sure flowtests are
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 5db3e0e

Please sign in to comment.