Skip to content

Commit 09e5b5b

Browse files
committed
Migrate to pnpm
1 parent 527839c commit 09e5b5b

File tree

6 files changed

+11323
-11158
lines changed

6 files changed

+11323
-11158
lines changed

.github/workflows/ci.yml

+11-19
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,9 @@ jobs:
2020
timeout-minutes: 10
2121

2222
steps:
23-
- uses: actions/checkout@v3
24-
- uses: volta-cli/action@v4
25-
- run: yarn install --frozen-lockfile
26-
- run: yarn lint
27-
- run: yarn test:ember
23+
- uses: wyvox/action@v1
24+
- run: pnpm lint
25+
- run: pnpm test:ember
2826
working-directory: addon
2927

3028
floating-dependencies:
@@ -33,10 +31,10 @@ jobs:
3331
timeout-minutes: 10
3432

3533
steps:
36-
- uses: actions/checkout@v3
37-
- uses: volta-cli/action@v4
38-
- run: yarn install --no-lockfile
39-
- run: yarn test:ember
34+
- uses: wyvox/action@v1
35+
with:
36+
pnpm-args: '--no-lockfile'
37+
- run: pnpm test:ember
4038
working-directory: addon
4139

4240
try-scenarios:
@@ -59,10 +57,7 @@ jobs:
5957
- embroider-optimized
6058

6159
steps:
62-
- uses: actions/checkout@v3
63-
- uses: volta-cli/action@v4
64-
- name: install dependencies
65-
run: yarn install --frozen-lockfile
60+
- uses: wyvox/action@v1
6661
- name: test
6762
run: node_modules/.bin/ember try:one ${{ matrix.ember-try-scenario }} --skip-cleanup
6863
working-directory: addon
@@ -81,13 +76,10 @@ jobs:
8176
- next
8277

8378
steps:
84-
- uses: actions/checkout@v2
85-
- uses: volta-cli/action@v4
86-
- name: install dependencies
87-
run: yarn install --frozen-lockfile
79+
- uses: wyvox/action@v1
8880
- name: install TS version
89-
run: yarn install --dev typescript@${{matrix.ts-version}}
81+
run: pnpm install --save-dev typescript@${{matrix.ts-version}}
9082
working-directory: addon
9183
- name: test types
92-
run: yarn test:types
84+
run: pnpm test:types
9385
working-directory: addon

addon/config/ember-try.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const { embroiderSafe, embroiderOptimized } = require('@embroider/test-setup');
55

66
module.exports = async function () {
77
return {
8-
useYarn: true,
8+
usePnpm: true,
99
scenarios: [
1010
{
1111
name: 'ember-lts-3.28',

package.json

+4-7
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,12 @@
55
"license": "MIT",
66
"repository": "https://github.com/emberjs/ember-qunit",
77
"scripts": {
8-
"lint": "yarn workspaces run lint",
9-
"lint:fix": "yarn workspaces run lint:fix",
10-
"test": "yarn workspaces run test"
8+
"lint": "pnpm --filter '*' lint",
9+
"lint:fix": "pnpm --filter '*' lint:fix",
10+
"test": "pnpm --filter '*' test"
1111
},
12-
"workspaces": [
13-
"addon"
14-
],
1512
"volta": {
1613
"node": "18.16.0",
17-
"yarn": "1.22.19"
14+
"pnpm": "8.6.1"
1815
}
1916
}

0 commit comments

Comments
 (0)