Skip to content

Commit

Permalink
chore: switch to pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Mar 15, 2022
1 parent a9626ff commit 2960f2a
Show file tree
Hide file tree
Showing 4 changed files with 3,853 additions and 3,629 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

name: ci

on:
Expand All @@ -12,15 +11,15 @@ on:
jobs:
ci:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- run: corepack enable
- uses: actions/setup-node@v2
with:
node-version: '16'
cache: yarn
- run: yarn install
- run: yarn lint
- run: yarn build
- run: yarn vitest --coverage
node-version: 16
cache: "pnpm"
- run: pnpm install
- run: pnpm lint
- run: pnpm build
- run: pnpm vitest --coverage
- uses: codecov/codecov-action@v2
11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
"build": "unbuild",
"dev": "vitest",
"lint": "eslint --ext .ts .",
"prepack": "yarn build",
"release": "yarn test && standard-version && git push --follow-tags && npm publish",
"test": "yarn lint && vitest run"
"prepack": "pnpm build",
"release": "pnpm test && standard-version && git push --follow-tags && pnpm publish",
"test": "pnpm lint && vitest run"
},
"dependencies": {},
"devDependencies": {
Expand All @@ -37,5 +37,6 @@
"typescript": "latest",
"unbuild": "latest",
"vitest": "latest"
}
}
},
"packageManager": "[email protected]"
}
Loading

0 comments on commit 2960f2a

Please sign in to comment.