add test and integrate tasks

This commit is contained in:
Yanick Champoux 2023-04-13 17:56:18 -04:00
parent fe122a9c69
commit 14ef55197a

View File

@ -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