Skip to content

Commit

Permalink
Internal: Switch from yarn to pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
IanVS committed Jul 12, 2024
1 parent f558d5d commit afe3b0f
Show file tree
Hide file tree
Showing 4 changed files with 1,401 additions and 1,082 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,11 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: 'yarn'
cache-dependency-path: 'yarn.lock'
- run: yarn install --frozen-lockfile --non-interactive
cache: 'pnpm'
- run: pnpm install
- name: Build
run: yarn compile
run: pnpm compile
- name: Test
run: yarn test
run: pnpm test
- name: Check formatting
run: yarn format:check
run: pnpm format:check
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
"types"
],
"scripts": {
"prepare": "yarn run compile",
"prepare": "pnpm run compile",
"compile": "tsc",
"preexample": "yarn run compile",
"preexample": "pnpm run compile",
"test": "cross-env NODE_OPTIONS=--experimental-vm-modules vitest --run",
"test:watch": "vitest",
"format": "prettier . --write",
Expand Down Expand Up @@ -85,5 +85,5 @@
"optional": true
}
},
"packageManager": "yarn@1.22.19+sha1.4ba7fc5c6e704fce2066ecbfb0b0d8976fe62447"
"packageManager": "pnpm@9.5.0+sha512.140036830124618d624a2187b50d04289d5a087f326c9edfc0ccd733d76c4f52c3a313d4fc148794a2a9d81553016004e6742e8cf850670268a7387fc220c903"
}
Loading

0 comments on commit afe3b0f

Please sign in to comment.