Skip to content

Commit f9f9bbf

Browse files
committed
ci: use pnpm
1 parent bf757a9 commit f9f9bbf

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.github/workflows/check-db.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,19 @@ jobs:
1414
uses: actions/checkout@v3
1515
with:
1616
ref: ${{ github.event.pull_request.head.sha }}
17+
18+
- uses: pnpm/action-setup@v3
19+
with:
20+
version: 8
1721

1822
- name: Install Dependencies
19-
run: npm install
23+
run: pnpm install
2024

2125
- name: Start Service
22-
run: npm run dev &
26+
run: pnpm run dev &
2327

2428
- name: Update api.json
25-
run: npm run api:download
29+
run: pnpm run api:download
2630

2731
- name: Check Diff
2832
run: |

package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44
"description": "a tool for manage API",
55
"main": "index.js",
66
"private": true,
7-
"workspaces": [
8-
"packages/*"
9-
],
107
"dependencies": {
118
"koa": "^2.13.0",
129
"koa-body": "^4.2.0",

0 commit comments

Comments
 (0)