Skip to content

Commit f2c7e0b

Browse files
authored
Merge pull request #115 from ember-fastboot/pnpm
swap to pnpm
2 parents 9dff9f4 + 846e648 commit f2c7e0b

File tree

9 files changed

+13449
-49074
lines changed

9 files changed

+13449
-49074
lines changed

.github/workflows/ci.yml

Lines changed: 24 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -17,33 +17,39 @@ jobs:
1717
runs-on: ubuntu-latest
1818

1919
steps:
20-
- uses: actions/checkout@v2
20+
- uses: actions/checkout@v4
21+
- uses: pnpm/action-setup@v2
22+
with:
23+
version: 8
2124
- name: Install Node
22-
uses: actions/setup-node@v2
25+
uses: actions/setup-node@v4
2326
with:
2427
node-version: 16.x
25-
cache: npm
28+
cache: pnpm
2629
- name: Install Dependencies
27-
run: npm ci
30+
run: pnpm install --frozen-lockfile
2831
- name: Lint
29-
run: npm run lint
32+
run: pnpm lint
3033
- name: Run Tests
31-
run: npm run test:ember
34+
run: pnpm test:ember
3235

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

3740
steps:
38-
- uses: actions/checkout@v2
39-
- uses: actions/setup-node@v2
41+
- uses: actions/checkout@v4
42+
- uses: pnpm/action-setup@v2
43+
with:
44+
version: 8
45+
- uses: actions/setup-node@v4
4046
with:
4147
node-version: 16.x
42-
cache: npm
48+
cache: pnpm
4349
- name: Install Dependencies
44-
run: npm install --no-shrinkwrap
50+
run: pnpm install --no-lockfile
4551
- name: Run Tests
46-
run: npm run test:ember
52+
run: pnpm test:ember
4753

4854
try-scenarios:
4955
name: ${{ matrix.try-scenario }}
@@ -64,13 +70,15 @@ jobs:
6470
- embroider-optimized
6571

6672
steps:
67-
- uses: actions/checkout@v2
73+
- uses: actions/checkout@v4
74+
- uses: pnpm/action-setup@v2
75+
with:
76+
version: 8
6877
- name: Install Node
69-
uses: actions/setup-node@v2
78+
uses: actions/setup-node@v4
7079
with:
7180
node-version: 16.x
72-
cache: npm
7381
- name: Install Dependencies
74-
run: npm ci
82+
run: pnpm install --frozen-lockfile
7583
- name: Run Tests
76-
run: ./node_modules/.bin/ember try:one ${{ matrix.try-scenario }}
84+
run: ./node_modules/.bin/ember try:one ${{ matrix.try-scenario }} --skip-cleanup

.github/workflows/plan-release.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,17 @@ jobs:
5050
with:
5151
node-version: 18
5252

53-
- run: npm ci
53+
- uses: pnpm/action-setup@v2
54+
with:
55+
version: 8
56+
- run: pnpm install --frozen-lockfile
5457

5558
- name: "Generate Explanation and Prep Changelogs"
5659
id: explanation
5760
run: |
5861
set -x
5962
60-
npx release-plan prepare --single-package=ember-cli-head
63+
pnpm release-plan prepare
6164
6265
echo 'text<<EOF' >> $GITHUB_OUTPUT
6366
jq .description .release-plan.json -r >> $GITHUB_OUTPUT

.github/workflows/publish.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,12 @@ jobs:
4747
# This creates an .npmrc that reads the NODE_AUTH_TOKEN environment variable
4848
registry-url: 'https://registry.npmjs.org'
4949

50-
- run: npm ci
50+
- uses: pnpm/action-setup@v2
51+
with:
52+
version: 8
53+
- run: pnpm install --frozen-lockfile
5154
- name: npm publish
52-
run: npx release-plan publish
55+
run: pnpm release-plan publish
5356

5457
env:
5558
GITHUB_AUTH: ${{ secrets.GITHUB_TOKEN }}

.yarnrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

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 ember-cli-head`
7-
* `npm ci`
7+
* `pnpm i`
88

99
## Linting
1010

11-
* `npm run lint`
12-
* `npm run lint:fix`
11+
* `pnpm lint`
12+
* `pnpm lint:fix`
1313

1414
## Running tests
1515

config/ember-try.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ const { embroiderSafe, embroiderOptimized } = require('@embroider/test-setup');
55

66
module.exports = async function () {
77
return {
8+
usePnpm: true,
89
scenarios: [
910
{
1011
name: 'ember-lts-3.16',

0 commit comments

Comments
 (0)