add test and integrate tasks

docks66-json-schema
Yanick Champoux 2023-04-13 17:56:18 -04:00
parent fe122a9c69
commit 14ef55197a
1 changed files with 28 additions and 0 deletions

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