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
9 changes: 8 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,18 @@ jobs:
- uses: actions/checkout@v4
- uses: ./.github/actions/prepare
- run: pnpm test
benchmark_types:
name: Benchmark Types
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/prepare
- run: pnpm test:bench

name: CI

on:
pull_request: ~
pull_request:
push:
branches:
- main
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/lib
/node_modules
/.attest
5 changes: 3 additions & 2 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import eslint from "@eslint/js";
import tseslint from "typescript-eslint";

export default tseslint.config(
{ ignores: ["lib", "node_modules", "pnpm-lock.yaml"] },
{ ignores: ["lib", "node_modules", "pnpm-lock.yaml", "setup-vitest.ts"] },
{ linterOptions: { reportUnusedDisableDirectives: "error" } },
eslint.configs.recommended,
{
Expand All @@ -18,9 +18,10 @@ export default tseslint.config(
},
},
{
files: ["**/*.test.ts"],
files: ["**/*.{test,bench}.ts"],
rules: {
"@typescript-eslint/no-floating-promises": "off",
"@typescript-eslint/no-unused-vars": "off",
},
},
);
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,12 @@
"format": "prettier .",
"lint": "eslint . --max-warnings 0",
"test": "vitest run",
"test:bench": "vitest bench",
"test:update-snapshots": "vitest run -u",
"tsc": "tsc"
},
"devDependencies": {
"@ark/attest": "^0.49.0",
"@eslint/js": "9.29.0",
"@types/node": "24.0.4",
"eslint": "9.29.0",
Expand Down
Loading