Skip to content

Commit 94967a3

Browse files
committed
swap to pnpm
1 parent a3b1586 commit 94967a3

File tree

7 files changed

+12651
-41790
lines changed

7 files changed

+12651
-41790
lines changed

.github/workflows/ci-build.yml

Lines changed: 22 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -24,20 +24,15 @@ jobs:
2424
runs-on: ubuntu-latest
2525

2626
steps:
27-
- uses: actions/checkout@v3
28-
- uses: volta-cli/action@v4
29-
- uses: actions/cache@v3
30-
id: npm-cache
27+
- uses: actions/checkout@v6
28+
- uses: pnpm/action-setup@v4
29+
- uses: actions/setup-node@v6
3130
with:
32-
path: '**/node_modules'
33-
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
34-
restore-keys: |
35-
${{ runner.os }}-npm-
36-
- name: npm ci
37-
if: steps.npm-cache.outputs.cache-hit != 'true'
38-
run: npm ci
39-
- run: npm run lint
40-
- run: npm run test:ember
31+
node-version: 24
32+
cache: pnpm
33+
- run: pnpm install
34+
- run: pnpm run lint
35+
- run: pnpm run test:ember
4136
working-directory: ./test-app/
4237

4338
floating-dependencies:
@@ -46,12 +41,14 @@ jobs:
4641
runs-on: ubuntu-latest
4742

4843
steps:
49-
- uses: actions/checkout@v3
50-
- uses: volta-cli/action@v4
44+
- uses: actions/checkout@v6
45+
- uses: pnpm/action-setup@v4
46+
- uses: actions/setup-node@v6
5147
with:
52-
node-version: 16.x
53-
- run: npm install --no-shrinkwrap
54-
- run: npm test
48+
node-version: 16
49+
cache: pnpm
50+
- run: pnpm install --no-lockfile
51+
- run: pnpm test
5552
working-directory: ./test-app/
5653

5754
try-scenarios:
@@ -76,22 +73,15 @@ jobs:
7673
- embroider-optimized
7774

7875
steps:
79-
- uses: actions/checkout@v3
80-
- uses: volta-cli/action@v4
76+
- uses: actions/checkout@v6
77+
- uses: pnpm/action-setup@v4
78+
- uses: actions/setup-node@v6
8179
with:
82-
node-version: 16.x
83-
- uses: actions/cache@v3
84-
id: npm-cache
85-
with:
86-
path: '**/node_modules'
87-
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
88-
restore-keys: |
89-
${{ runner.os }}-npm-
90-
- name: npm ci
91-
if: steps.npm-cache.outputs.cache-hit != 'true'
92-
run: npm ci
80+
node-version: 24
81+
cache: pnpm
82+
- run: pnpm install
9383
- name: test
94-
run: npx ember try:one ${{ matrix.ember-try-scenario }} --skip-cleanup
84+
run: pnpm ember try:one ${{ matrix.ember-try-scenario }} --skip-cleanup
9585
working-directory: ./test-app/
9686

9787
publish:

addon/package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,5 @@
2929
"default": "./addon/index"
3030
},
3131
"./*": "./addon/*"
32-
},
33-
"volta": {
34-
"extends": "../package.json"
3532
}
3633
}

0 commit comments

Comments
 (0)