Skip to content

Commit 2c95331

Browse files
authored
migrate to pnpm (#77)
1 parent 96bff41 commit 2c95331

File tree

5 files changed

+15915
-12764
lines changed

5 files changed

+15915
-12764
lines changed

.github/workflows/ci.yml

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,32 +19,38 @@ jobs:
1919

2020
steps:
2121
- uses: actions/checkout@v3
22+
- uses: pnpm/action-setup@v4
23+
with:
24+
version: 10
2225
- name: Install Node
2326
uses: actions/setup-node@v5
2427
with:
2528
node-version: 20.x
26-
cache: yarn
29+
cache: pnpm
2730
- name: Install Dependencies
28-
run: yarn install --frozen-lockfile
31+
run: pnpm install --frozen-lockfile
2932
- name: Lint
30-
run: yarn lint
33+
run: pnpm lint
3134
- name: Run Tests
32-
run: yarn test:ember
35+
run: pnpm test:ember
3336

3437
floating:
3538
name: "Floating Dependencies"
3639
runs-on: ubuntu-latest
3740

3841
steps:
3942
- uses: actions/checkout@v3
43+
- uses: pnpm/action-setup@v4
44+
with:
45+
version: 10
4046
- uses: actions/setup-node@v5
4147
with:
4248
node-version: 20.x
43-
cache: yarn
49+
cache: pnpm
4450
- name: Install Dependencies
45-
run: yarn install --no-lockfile
51+
run: pnpm install --no-lockfile
4652
- name: Run Tests
47-
run: yarn test:ember
53+
run: pnpm test:ember
4854

4955
try-scenarios:
5056
name: ${{ matrix.try-scenario }}
@@ -64,12 +70,15 @@ jobs:
6470

6571
steps:
6672
- uses: actions/checkout@v3
73+
- uses: pnpm/action-setup@v4
74+
with:
75+
version: 10
6776
- name: Install Node
6877
uses: actions/setup-node@v5
6978
with:
7079
node-version: 20.x
71-
cache: yarn
80+
cache: pnpm
7281
- name: Install Dependencies
73-
run: yarn install --frozen-lockfile
82+
run: pnpm install --frozen-lockfile
7483
- name: Run Tests
7584
run: ./node_modules/.bin/ember try:one ${{ matrix.try-scenario }}

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44

55
* `git clone <repository-url>`
66
* `cd my-addon`
7-
* `npm install`
7+
* `pnpm install`
88

99
## Linting
1010

11-
* `yarn lint`
12-
* `yarn lint:fix`
11+
* `pnpm lint`
12+
* `pnpm lint:fix`
1313

1414
## Running tests
1515

config/ember-try.js

Lines changed: 1 addition & 1 deletion
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',

0 commit comments

Comments
 (0)