Skip to content

Commit 6e612dc

Browse files
committed
Yarn 4 Upgrade
1 parent 3ab843a commit 6e612dc

File tree

5 files changed

+21426
-16120
lines changed

5 files changed

+21426
-16120
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Install Node
2323
uses: volta-cli/action@v4
2424
- name: Install Dependencies
25-
run: yarn install --frozen-lockfile
25+
run: yarn install --immutable
2626
- name: Lint
2727
run: yarn lint
2828
- name: Run Tests
@@ -37,8 +37,10 @@ jobs:
3737
- uses: actions/checkout@v4
3838
- name: Install Node
3939
uses: volta-cli/action@v4
40+
- name: Yarn Upgrade
41+
run: yarn upgrade
4042
- name: Install Dependencies
41-
run: yarn install --no-lockfile
43+
run: yarn install
4244
- name: Run Tests
4345
run: yarn test:ember
4446

@@ -71,6 +73,6 @@ jobs:
7173
- name: Install Node
7274
uses: volta-cli/action@v4
7375
- name: Install Dependencies
74-
run: yarn install --frozen-lockfile
76+
run: yarn install --immutable
7577
- name: Run Tests
7678
run: ./node_modules/.bin/ember try:one ${{ matrix.try-scenario }}

.gitignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,16 @@
2121
/package-lock.json.ember-try
2222
/yarn.lock.ember-try
2323

24+
# yarn@3 ignored files
25+
.pnp.*
26+
.yarn/*
27+
!.yarn/patches
28+
!.yarn/plugins
29+
!.yarn/releases
30+
!.yarn/sdks
31+
!.yarn/versions
32+
# wrapper file to inject environment variables into yarn
33+
!.yarn/setup-env.cjs
34+
2435
# broccoli-debug
2536
/DEBUG/

.yarnrc.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
enableGlobalCache: true
2+
3+
nodeLinker: node-modules

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
},
9797
"volta": {
9898
"node": "18.12.0",
99-
"yarn": "1.22.19"
99+
"yarn": "4.3.1"
100100
},
101101
"publishConfig": {
102102
"registry": "https://registry.npmjs.org"

0 commit comments

Comments
 (0)