Skip to content

Commit

Permalink
chore(deps): update yarn to v4 (#1715)
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Nov 21, 2023
1 parent fde4f7f commit 5988fd7
Show file tree
Hide file tree
Showing 6 changed files with 6,154 additions and 7,023 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,15 @@ jobs:

- name: Configure Node and package manager
uses: actions/[email protected]
env:
SKIP_YARN_COREPACK_CHECK: true
with:
node-version-file: 'package.json'
cache: 'yarn'

- name: Enable corepack
run: corepack enable

- name: Install dependencies
run: yarn install --immutable

Expand Down
875 changes: 0 additions & 875 deletions .yarn/releases/yarn-3.7.0.cjs

This file was deleted.

2 changes: 0 additions & 2 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
enableGlobalCache: true

nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-3.7.0.cjs
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ FROM node:20.9.0-alpine AS base

WORKDIR /app

# enable corepack
RUN corepack enable

FROM base AS builder

# one of dependencies uses node-gyp which requires build tools
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,5 +129,5 @@
"outputFormat": "esmodule"
}
},
"packageManager": "yarn@3.7.0"
"packageManager": "yarn@4.0.2"
}
Loading

0 comments on commit 5988fd7

Please sign in to comment.