Skip to content

Commit

Permalink
Yarn 4 Upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
elwayman02 committed Jul 17, 2024
1 parent 3ab843a commit 6e612dc
Show file tree
Hide file tree
Showing 5 changed files with 21,426 additions and 16,120 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Install Node
uses: volta-cli/action@v4
- name: Install Dependencies
run: yarn install --frozen-lockfile
run: yarn install --immutable
- name: Lint
run: yarn lint
- name: Run Tests
Expand All @@ -37,8 +37,10 @@ jobs:
- uses: actions/checkout@v4
- name: Install Node
uses: volta-cli/action@v4
- name: Yarn Upgrade
run: yarn upgrade
- name: Install Dependencies
run: yarn install --no-lockfile
run: yarn install
- name: Run Tests
run: yarn test:ember

Expand Down Expand Up @@ -71,6 +73,6 @@ jobs:
- name: Install Node
uses: volta-cli/action@v4
- name: Install Dependencies
run: yarn install --frozen-lockfile
run: yarn install --immutable
- name: Run Tests
run: ./node_modules/.bin/ember try:one ${{ matrix.try-scenario }}
11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,16 @@
/package-lock.json.ember-try
/yarn.lock.ember-try

# yarn@3 ignored files
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
# wrapper file to inject environment variables into yarn
!.yarn/setup-env.cjs

# broccoli-debug
/DEBUG/
3 changes: 3 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
enableGlobalCache: true

nodeLinker: node-modules
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
},
"volta": {
"node": "18.12.0",
"yarn": "1.22.19"
"yarn": "4.3.1"
},
"publishConfig": {
"registry": "https://registry.npmjs.org"
Expand Down
Loading

0 comments on commit 6e612dc

Please sign in to comment.