Skip to content

Commit a203bfe

Browse files
Merge pull request #1314 from NullVoxPopuli/switch-to-pnpm
Convert to pnpm
2 parents 07cabde + a0817e7 commit a203bfe

5 files changed

Lines changed: 20914 additions & 18227 deletions

File tree

.github/workflows/ci.yml

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,14 @@ jobs:
1818

1919
steps:
2020
- uses: actions/checkout@v4
21+
- uses: pnpm/action-setup@v4
2122
- uses: actions/setup-node@v4
2223
with:
2324
node-version: 18
24-
cache: 'yarn'
25-
- run: yarn install --frozen-lockfile
26-
- run: yarn lint
27-
- run: yarn test:ember
25+
cache: 'pnpm'
26+
- run: pnpm install
27+
- run: pnpm lint
28+
- run: pnpm test:ember
2829

2930
test-node:
3031
name: Node Tests
@@ -33,12 +34,13 @@ jobs:
3334

3435
steps:
3536
- uses: actions/checkout@v4
37+
- uses: pnpm/action-setup@v4
3638
- uses: actions/setup-node@v4
3739
with:
3840
node-version: 18
39-
cache: 'yarn'
40-
- run: yarn install --frozen-lockfile
41-
- run: yarn test:node
41+
cache: 'pnpm'
42+
- run: pnpm install
43+
- run: pnpm test:node
4244

4345
floating-dependencies:
4446
name: "Floating Dependencies"
@@ -47,12 +49,13 @@ jobs:
4749

4850
steps:
4951
- uses: actions/checkout@v4
52+
- uses: pnpm/action-setup@v4
5053
- uses: actions/setup-node@v4
5154
with:
5255
node-version: 18
53-
cache: 'yarn'
54-
- run: yarn install --no-lockfile
55-
- run: yarn test:ember
56+
cache: 'pnpm'
57+
- run: pnpm install
58+
- run: pnpm test:ember
5659

5760
try-scenarios:
5861
name: "Try: ${{ matrix.ember-try-scenario }}"
@@ -73,12 +76,11 @@ jobs:
7376
- ember-canary
7477

7578
steps:
76-
- uses: actions/checkout@v2
79+
- uses: actions/checkout@v4
80+
- uses: pnpm/action-setup@v4
7781
- uses: actions/setup-node@v4
7882
with:
7983
node-version: 18
80-
cache: 'yarn'
81-
- name: install dependencies
82-
run: yarn install --frozen-lockfile
83-
- name: test
84-
run: node_modules/.bin/ember try:one ${{ matrix.ember-try-scenario }} --skip-cleanup
84+
cache: 'pnpm'
85+
- run: pnpm install
86+
- run: node_modules/.bin/ember try:one ${{ matrix.ember-try-scenario }} --skip-cleanup

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@
107107
"ember-source": ">= 4.0.0",
108108
"qunit": "*"
109109
},
110+
"packageManager": "[email protected]",
110111
"engines": {
111112
"node": ">= 18"
112113
},
@@ -140,7 +141,6 @@
140141
}
141142
},
142143
"volta": {
143-
"node": "18.20.7",
144-
"yarn": "1.22.19"
144+
"node": "18.20.7"
145145
}
146146
}

0 commit comments

Comments
 (0)