Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,3 +99,27 @@ jobs:

- name: Run linter
run: pnpm lint

test:
name: 'Test'
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}

- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: ${{ env.PNPM_VERSION }}

- name: Install dependencies
run: pnpm install

- name: Run tests
run: pnpm test
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
"scripts": {
"build": "unbuild",
"typecheck": "tsc --noEmit",
"lint": "eslint ./src --fix --max-warnings 0"
"lint": "eslint ./src --fix --max-warnings 0",
"test": "vitest run"
},
"files": [
"dist",
Expand All @@ -35,6 +36,7 @@
"@inquirer/prompts": "7.0.0",
"knip": "5.70.2",
"typescript": "5.6.3",
"unbuild": "2.0.0"
"unbuild": "2.0.0",
"vitest": "4.1.2"
}
}
Loading
Loading