chore: test lint (node 24)

This commit is contained in:
Elysia
2025-07-12 20:51:06 +07:00
parent cc03f2e0f4
commit dd67e158bf
2 changed files with 4 additions and 4 deletions

View File

@@ -17,9 +17,10 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Install Node.js v22 - name: Install Node.js v24
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
node-version: 22 node-version: 24
- run: npm install --verbose - run: npm install --verbose
- run: npx patch-package
- run: npm run test - run: npm run test

View File

@@ -17,8 +17,7 @@
"lint:all": "npm run lint && npm run lint:typings", "lint:all": "npm run lint && npm run lint:typings",
"docs": "docgen --source src --custom docs/index.yml --output docs/main.json", "docs": "docgen --source src --custom docs/index.yml --output docs/main.json",
"docs:test": "docgen --source src --custom docs/index.yml", "docs:test": "docgen --source src --custom docs/index.yml",
"build": "npm run lint:fix && npm run lint:typings:fix && npm run format && npm run docs", "build": "npm run lint:fix && npm run lint:typings:fix && npm run format && npm run docs"
"prepare": "npx patch-package"
}, },
"files": [ "files": [
"src", "src",