Skip to content
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.

Commit

Permalink
chore: switch to pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Jul 4, 2023
1 parent dbea157 commit 06f6cff
Show file tree
Hide file tree
Showing 5 changed files with 2,403 additions and 2,360 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,14 @@ on:
jobs:
ci:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- run: corepack enable
- uses: actions/setup-node@v3
with:
node-version: 16
cache: "yarn"
- run: yarn install
- run: yarn test
node-version: "18"
cache: pnpm
- run: pnpm install
- run: pnpm test
- uses: codecov/codecov-action@v3
2 changes: 2 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
shamefully-hoist=true
strict-peer-dependencies=false
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@
"scripts": {
"build": "unbuild",
"prepack": "unbuild",
"test": "yarn build && node ./test/test.mjs",
"test": "pnpm build && node ./test/test.mjs",
"release": "standard-version && npm publish && git push --follow-tags"
},
"devDependencies": {
"fs-extra": "^11.1.0",
"node-fetch": "^3.3.0",
"fs-extra": "^11.1.1",
"node-fetch": "^3.3.1",
"shiki": "^0.14.3",
"standard-version": "^9.5.0",
"unbuild": "^1.2.1"
Expand Down

0 comments on commit 06f6cff

Please sign in to comment.