Skip to content

Commit

Permalink
move to pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
mansona committed Dec 5, 2023
1 parent 33b1dcd commit b7f83df
Show file tree
Hide file tree
Showing 7 changed files with 7,644 additions and 7,476 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,20 @@ jobs:
node-version: [16.x, 18.x, 20.x]

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
with:
version: 8
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: yarn
- run: yarn install --frozen-lockfile
- run: yarn lint
- run: yarn test
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm lint
- run: pnpm test
- uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- run: yarn test:integration
- run: yarn test:notelemetry
- run: pnpm test:integration
- run: pnpm test:notelemetry

7 changes: 5 additions & 2 deletions .github/workflows/plan-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,17 @@ jobs:
with:
node-version: 18

- run: yarn install --frozen-lockfile
- uses: pnpm/action-setup@v2
with:
version: 8
- run: pnpm install --frozen-lockfile

- name: "Generate Explanation and Prep Changelogs"
id: explanation
run: |
set -x
npx release-plan prepare --single-pacakge=ember-angle-brackets-codemod
pnpm release-plan prepare --single-package=ember-angle-brackets-codemod
echo 'text<<EOF' >> $GITHUB_OUTPUT
jq .description .release-plan.json -r >> $GITHUB_OUTPUT
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,12 @@ jobs:
# This creates an .npmrc that reads the NODE_AUTH_TOKEN environment variable
registry-url: 'https://registry.npmjs.org'

- run: yarn install --frozen-lockfile
- uses: pnpm/action-setup@v2
with:
version: 8
- run: pnpm install --frozen-lockfile
- name: npm publish
run: npx release-plan publish
run: pnpm release-plan publish

env:
GITHUB_AUTH: ${{ secrets.GITHUB_TOKEN }}
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@
"debug": "^4.3.1",
"ember-codemods-telemetry-helpers": "^3.0.0",
"ember-template-recast": "^6.1.4",
"winston": "^3.3.3"
"winston": "^3.3.3",
"yargs": "^17.7.2"
},
"devDependencies": {
"coveralls": "^3.1.1",
Expand Down
Loading

0 comments on commit b7f83df

Please sign in to comment.