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
5 changes: 5 additions & 0 deletions .github/workflows/notion-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,18 @@ name: notion-cli

on:
push:
branches: [main]
paths:
- "notion-cli/**"
pull_request:
paths:
- "notion-cli/**"
workflow_dispatch: # allow manual runs

concurrency:
group: notion-cli-${{ github.ref }}
cancel-in-progress: true

defaults:
run:
working-directory: notion-cli
Expand Down
2 changes: 1 addition & 1 deletion notion-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"build": "tsc",
"prepare": "npm run build",
"cli": "npx tsx cli.ts",
"test": "node --import tsx --test ./test/docs.test.ts ./test/user.test.ts ./test/search.test.ts ./test/page.test.ts ./test/block.test.ts ./test/comment.test.ts ./test/database.test.ts ./test/datasource.test.ts ./test/file.test.ts ./test/integration-cmd.test.ts",
"test": "node --import tsx --test --test-concurrency=1 ./test/docs.test.ts ./test/user.test.ts ./test/search.test.ts ./test/page.test.ts ./test/block.test.ts ./test/comment.test.ts ./test/database.test.ts ./test/datasource.test.ts ./test/file.test.ts ./test/integration-cmd.test.ts",
"test:docs": "node --import tsx --test ./test/docs.test.ts",
"test:user": "node --import tsx --test ./test/user.test.ts",
"test:search": "node --import tsx --test ./test/search.test.ts",
Expand Down