add test and integrate tasks
This commit is contained in:
parent
fe122a9c69
commit
14ef55197a
28
Taskfile.yml
28
Taskfile.yml
@ -6,6 +6,34 @@ vars:
|
||||
GREETING: Hello, World!
|
||||
|
||||
tasks:
|
||||
test:
|
||||
cmds:
|
||||
- vitest run src
|
||||
test:dev:
|
||||
cmds:
|
||||
- vitest src
|
||||
|
||||
check:
|
||||
deps:
|
||||
- histoire:build
|
||||
cmds:
|
||||
- { task: test }
|
||||
|
||||
histoire:build:
|
||||
sources:
|
||||
- src/lib/components/**
|
||||
generates:
|
||||
- .histoire/screenshots/**
|
||||
cmds:
|
||||
- histoire build
|
||||
|
||||
integrate:
|
||||
deps: [check]
|
||||
cmds:
|
||||
- git is-clean
|
||||
- git checkout main
|
||||
- git weld -
|
||||
|
||||
release:
|
||||
cmds:
|
||||
- standard-version -a
|
||||
|
Loading…
Reference in New Issue
Block a user