Skip to content

Commit 795018d

Browse files
github workflow
1 parent 8f82dbc commit 795018d

File tree

3 files changed

+95
-87
lines changed

3 files changed

+95
-87
lines changed

.github/workflows/ci.yml

+9-6
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,12 @@ jobs:
2121
- uses: actions/setup-node@v4
2222
with:
2323
node-version: 20
24-
- run: |
25-
npm install
26-
npm run lint
27-
npm run compile
28-
npm run test
29-
npm run dev
24+
- uses: pnpm/action-setup@v4
25+
with:
26+
run_install: |
27+
- recursive: false
28+
- args: [--no-frozen-lockfile, --strict-peer-dependencies]
29+
# - run: pnpm install --no-frozen-lockfile
30+
- run: pnpm run lint
31+
- run: pnpm run check-format
32+
- run: pnpm run dist

package.json

+8-3
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,19 @@
1616
]
1717
}
1818
},
19+
"packageManager": "pnpm@9.1.0",
20+
"engines": {
21+
"node": ">=20",
22+
"pnpm": "^9"
23+
},
1924
"dependencies": {
20-
"@typescript-eslint/eslint-plugin": "^7.7.0",
21-
"@typescript-eslint/parser": "^7.7.0",
25+
"@typescript-eslint/eslint-plugin": "^7.2.0",
26+
"@typescript-eslint/parser": "^7.2.0",
2227
"@types/node": "20.12.2",
2328
"esbuild": "^0.20.2",
2429
"eslint": "^8.57.0",
2530
"prettier": "^3.2.5",
26-
"typescript": "^5.4.5"
31+
"typescript": "^5.4"
2732
},
2833
"scripts": {
2934
"prepare": "$npm_execpath run compile",

pnpm-lock.yaml

+78-78
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)