Migrate form yarn to pnpm

This commit is contained in:
Nick Cipollo
2025-12-01 20:07:09 -05:00
parent 7ffaa93f91
commit 5e58a022dc
8 changed files with 6157 additions and 6357 deletions

View File

@@ -13,20 +13,25 @@ jobs:
steps:
- uses: actions/checkout@v6
- uses: pnpm/action-setup@v4
with:
version: latest
- uses: actions/setup-node@v6
with:
node-version: 20
cache: 'pnpm'
- name: "yarn install"
run: yarn install
- name: "pnpm install"
run: pnpm install
- name: "yarn build"
run: yarn build
- name: "pnpm build"
run: pnpm build
- name: "check for uncommitted changes"
# Ensure no changes, but ignore node_modules dir since dev/fresh ci deps installed.
run: |
git diff --exit-code --stat -- . ':!node_modules' \
|| (echo "##[error] found changed files after build. please 'yarn build && npm run format'" \
|| (echo "##[error] found changed files after build. please 'pnpm build && pnpm run format'" \
"and check in all changes" \
&& exit 1)

View File

@@ -7,12 +7,17 @@ jobs:
steps:
- uses: actions/checkout@v6
- uses: pnpm/action-setup@v4
with:
version: latest
- uses: actions/setup-node@v6
with:
node-version: 20
cache: 'pnpm'
- name: "yarn install"
run: yarn install
- name: "pnpm install"
run: pnpm install
- name: "yarn test"
run: yarn test
- name: "pnpm test"
run: pnpm test