Skip to content

Commit 165a65a

Browse files
committed
Migrate to pnpm
1 parent 5862d31 commit 165a65a

File tree

5 files changed

+11322
-11166
lines changed

5 files changed

+11322
-11166
lines changed

.github/workflows/ci.yml

+14-22
Original file line numberDiff line numberDiff line change
@@ -20,24 +20,22 @@ 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
28-
working-directory: addon
23+
- uses: wyvox/action@v1
24+
- run: pnpm lint
25+
- run: pnpm test:ember
26+
working-directory: test-app
2927

3028
floating-dependencies:
3129
name: 'Floating Dependencies'
3230
runs-on: ubuntu-latest
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
40-
working-directory: addon
34+
- uses: wyvox/action@v1
35+
with:
36+
pnpm-args: '--no-lockfile'
37+
- run: pnpm test:ember
38+
working-directory: test-app
4139

4240
try-scenarios:
4341
name: 'Try: ${{ matrix.ember-try-scenario }}'
@@ -60,13 +58,10 @@ jobs:
6058
- embroider-optimized
6159

6260
steps:
63-
- uses: actions/checkout@v3
64-
- uses: volta-cli/action@v4
65-
- name: install dependencies
66-
run: yarn install --frozen-lockfile
61+
- uses: wyvox/action@v1
6762
- name: test
6863
run: node_modules/.bin/ember try:one ${{ matrix.ember-try-scenario }} --skip-cleanup
69-
working-directory: addon
64+
working-directory: test-app
7065

7166
types:
7267
runs-on: ubuntu-latest
@@ -82,13 +77,10 @@ jobs:
8277
- next
8378

8479
steps:
85-
- uses: actions/checkout@v2
86-
- uses: volta-cli/action@v4
87-
- name: install dependencies
88-
run: yarn install --frozen-lockfile
80+
- uses: wyvox/action@v1
8981
- name: install TS version
90-
run: yarn install --dev typescript@${{matrix.ts-version}}
82+
run: pnpm install --save-dev typescript@${{matrix.ts-version}}
9183
working-directory: addon
9284
- name: test types
93-
run: yarn test:types
85+
run: pnpm test:types
9486
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',

0 commit comments

Comments
 (0)