Skip to content

Commit e1c9618

Browse files
authored
Merge pull request #1358 from ember-learn/pnpm
[internal] convert to pnpm
2 parents 551908c + f3a770b commit e1c9618

26 files changed

+18865
-61493
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -7,47 +7,34 @@ on:
77
pull_request:
88

99
env:
10-
NODE_VERSION: 18
10+
NODE_VERSION: 22
1111

1212
jobs:
1313
lint:
1414
name: Lint files
1515
runs-on: ubuntu-latest
1616
timeout-minutes: 3
1717
steps:
18-
- name: Check out a copy of the repo
19-
uses: actions/checkout@v2
20-
21-
- uses: mansona/npm-lockfile-version@v1
22-
23-
- name: Use Node.js ${{ env.NODE_VERSION }}
24-
uses: actions/setup-node@v4
18+
- uses: actions/checkout@v4
19+
- uses: pnpm/action-setup@v4
20+
- uses: actions/setup-node@v4
2521
with:
26-
cache: 'npm'
22+
cache: 'pnpm'
2723
node-version: ${{ env.NODE_VERSION }}
28-
29-
- name: Install dependencies
30-
run: npm install
31-
32-
- name: Lint
33-
run: npm run lint
24+
- run: pnpm install
25+
- run: pnpm run lint
3426

3527
test-app:
3628
name: Test app
3729
runs-on: ubuntu-latest
3830
timeout-minutes: 3
3931
steps:
40-
- name: Check out a copy of the repo
41-
uses: actions/checkout@v2
42-
43-
- name: Use Node.js ${{ env.NODE_VERSION }}
44-
uses: actions/setup-node@v4
32+
- uses: actions/checkout@v4
33+
- uses: pnpm/action-setup@v4
34+
- uses: actions/setup-node@v4
4535
with:
46-
cache: 'npm'
36+
cache: 'pnpm'
4737
node-version: ${{ env.NODE_VERSION }}
48-
49-
- name: Install dependencies
50-
run: npm install
51-
38+
- run: pnpm install
5239
- name: Test
53-
run: npm run test
40+
run: pnpm run test

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ If you have questions or need help with writing, please visit the `#dev-ember-le
3232
1. Install packages.
3333

3434
```bash
35-
npm install
35+
pnpm install
3636
```
3737

3838
</details>

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ You will need the following things properly installed on your computer.
4242

4343
* `git clone <repository-url>` this repository
4444
* `cd ember-blog`
45-
* `npm install`
45+
* `pnpm install`
4646

4747
## Running / Development
4848

@@ -61,8 +61,8 @@ Make use of the many generators for code, try `ember help generate` for more det
6161

6262
### Linting
6363

64-
* `npm run lint`
65-
* `npm run lint:fix`
64+
* `pnpm run lint`
65+
* `pnpm run lint:fix`
6666

6767
### Building
6868

config/ember-cli-update.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"codemodsSource": "ember-app-codemods-manifest@1",
1212
"isBaseBlueprint": true,
1313
"options": [
14-
"--no-welcome"
14+
"--no-welcome",
15+
"--pnpm"
1516
]
1617
}
1718
]

0 commit comments

Comments
 (0)