Skip to content

Commit

Permalink
chore: add typechecks to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Uninen committed Nov 26, 2024
1 parent 5211a71 commit 48228d6
Show file tree
Hide file tree
Showing 7 changed files with 412 additions and 350 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ jobs:
- name: Install Playwright browsers
run: pnpm exec playwright install --with-deps

- name: Type Check
run: pnpm ts

- name: Run e2e tests
run: pnpm test:ci-e2e

Expand Down
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 0.4.1 (2024-11-27)

- Chore: typec-check in CI.

## 0.4.0 (2024-11-20)

- Refactor: moved Vue tools into `@slipmatio/toolbelt/vue` package.
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ Vue tools (`vue` and `vue-router` required): `import { tool } from @slipmatio/to

### Testing

Type check: `pnpm ts`

#### Unittests

1. `pnpm test`
Expand Down
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@slipmatio/toolbelt",
"type": "module",
"version": "0.4.0",
"version": "0.4.1",
"main": "dist/toolbelt.js",
"module": "dist/toolbelt.js",
"exports": {
Expand All @@ -26,23 +26,23 @@
"test:e2e": "DEBUG=0 playwright test --ui",
"test:ci-e2e": "DEBUG=0 playwright test",
"coverage": "DEBUG=0 vitest run --coverage",
"type-check": "DEBUG=0 vue-tsc --build --force"
"ts": "DEBUG=0 vue-tsc --build --force"
},
"devDependencies": {
"@playwright/test": "1.49.0",
"@tsconfig/node20": "20.1.4",
"@types/node": "22.9.1",
"@vitejs/plugin-vue": "5.2.0",
"@vitest/coverage-v8": "2.1.5",
"@types/node": "22.10.0",
"@vitejs/plugin-vue": "5.2.1",
"@vitest/coverage-v8": "2.1.6",
"@vue/test-utils": "2.4.6",
"@vue/tsconfig": "0.6.0",
"happy-dom": "15.11.6",
"typescript": "5.6.3",
"vite": "5.4.11",
"vite": "6.0.0",
"vite-plugin-dts": "4.3.0",
"vitest": "2.1.5",
"vitest": "2.1.6",
"vue": "3.5.13",
"vue-router": "4.4.5",
"vue-router": "4.5.0",
"vue-tsc": "2.1.10"
},
"peerDependencies": {
Expand Down
Loading

0 comments on commit 48228d6

Please sign in to comment.