Skip to content

Commit ac71c91

Browse files
authored
Merge pull request #512 from ember-codemods/pnpm
move to pnpm
2 parents 33b1dcd + b7f83df commit ac71c91

File tree

7 files changed

+7644
-7476
lines changed

7 files changed

+7644
-7476
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,20 @@ jobs:
1717
node-version: [16.x, 18.x, 20.x]
1818

1919
steps:
20-
- uses: actions/checkout@v2
21-
- uses: actions/setup-node@v3
20+
- uses: actions/checkout@v4
21+
- uses: pnpm/action-setup@v2
22+
with:
23+
version: 8
24+
- uses: actions/setup-node@v4
2225
with:
2326
node-version: ${{ matrix.node-version }}
24-
cache: yarn
25-
- run: yarn install --frozen-lockfile
26-
- run: yarn lint
27-
- run: yarn test
27+
cache: pnpm
28+
- run: pnpm install --frozen-lockfile
29+
- run: pnpm lint
30+
- run: pnpm test
2831
- uses: coverallsapp/github-action@master
2932
with:
3033
github-token: ${{ secrets.GITHUB_TOKEN }}
31-
- run: yarn test:integration
32-
- run: yarn test:notelemetry
34+
- run: pnpm test:integration
35+
- run: pnpm test:notelemetry
3336

.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: yarn install --frozen-lockfile
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-pacakge=ember-angle-brackets-codemod
63+
pnpm release-plan prepare --single-package=ember-angle-brackets-codemod
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: yarn install --frozen-lockfile
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 }}

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@
3838
"debug": "^4.3.1",
3939
"ember-codemods-telemetry-helpers": "^3.0.0",
4040
"ember-template-recast": "^6.1.4",
41-
"winston": "^3.3.3"
41+
"winston": "^3.3.3",
42+
"yargs": "^17.7.2"
4243
},
4344
"devDependencies": {
4445
"coveralls": "^3.1.1",

0 commit comments

Comments
 (0)