Compare commits
2 commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 7ca3d97ce9 | |||
| c950b0c75a |
3 changed files with 817 additions and 679 deletions
24
.github/workflows/ci.yml
vendored
24
.github/workflows/ci.yml
vendored
|
|
@ -5,8 +5,8 @@ on:
|
||||||
pull_request: { branches: ["0.x"] }
|
pull_request: { branches: ["0.x"] }
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
lint:
|
||||||
name: Test
|
name: Lint
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
|
@ -27,5 +27,25 @@ jobs:
|
||||||
- name: Type Check
|
- name: Type Check
|
||||||
run: yarn build
|
run: yarn build
|
||||||
|
|
||||||
|
test:
|
||||||
|
name: Test Node ${{ matrix.node-versions }}
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
node-version: [16, 18, 20]
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Set up Node
|
||||||
|
uses: actions/setup-node@v3
|
||||||
|
with:
|
||||||
|
node-version: ${{ matrix.node-version }}
|
||||||
|
cache: yarn
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: yarn install
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: yarn test --coverage
|
run: yarn test --coverage
|
||||||
|
|
|
||||||
22
package.json
22
package.json
|
|
@ -31,17 +31,17 @@
|
||||||
"yargs": "^17.6.2"
|
"yargs": "^17.6.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/jest": "^29.4.0",
|
"@types/jest": "^29.5.3",
|
||||||
"@types/node": "^18.13.0",
|
"@types/node": "^20.5.0",
|
||||||
"@typescript-eslint/eslint-plugin": "^5.51.0",
|
"@typescript-eslint/eslint-plugin": "^6.4.0",
|
||||||
"@typescript-eslint/parser": "^5.51.0",
|
"@typescript-eslint/parser": "^6.4.0",
|
||||||
"eslint": "^8.33.0",
|
"eslint": "^8.33.0",
|
||||||
"eslint-config-prettier": "^8.6.0",
|
"eslint-config-prettier": "^9.0.0",
|
||||||
"eslint-plugin-prettier": "^4.2.1",
|
"eslint-plugin-prettier": "^5.0.0",
|
||||||
"jest": "^29.4.2",
|
"jest": "^29.6.2",
|
||||||
"prettier": "^2.8.4",
|
"prettier": "^3.0.2",
|
||||||
"ts-jest": "^29.0.5",
|
"ts-jest": "^29.1.1",
|
||||||
"ts-node": "^10.9.1",
|
"ts-node": "^10.9.1",
|
||||||
"typescript": "^5.0.0"
|
"typescript": "^5.1.6"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue