-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTaskfile.yaml
More file actions
91 lines (81 loc) · 1.51 KB
/
Copy pathTaskfile.yaml
File metadata and controls
91 lines (81 loc) · 1.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
version: "3"
tasks:
lint:
run: once
cmd: nubx oxlint src e2e playwright.config.ts
sources:
- nub.lock
- package.json
- playwright.config.ts
- tsconfig.json
- e2e/**/*
- src/**/*
typecheck:
run: once
cmd: nubx tsc
sources:
- nub.lock
- package.json
- tsconfig.json
- src/**/*
typecheck:playwright:
run: once
cmd: nubx tsc -p tsconfig.playwright.json
sources:
- e2e/**/*
- nub.lock
- package.json
- playwright.config.ts
- tsconfig.json
- tsconfig.playwright.json
test:unit:
run: once
cmd: nubx vitest run
sources:
- nub.lock
- package.json
- tsconfig.json
- vitest.config.ts
- src/**/*
playwright:install:
run: once
cmd: nubx playwright install chromium
sources:
- nub.lock
test:playwright:
run: once
deps:
- playwright:install
cmd: nubx playwright test
sources:
- e2e/**/*
- nub.lock
- package.json
- playwright.config.ts
- src/**/*
test:
deps:
- test:unit
- test:playwright
build:
run: once
cmd: nubx tsc -p tsconfig.build.json
sources:
- nub.lock
- package.json
- tsconfig.json
- tsconfig.build.json
- src/**/*
generates:
- dist/**/*
check:
deps:
- lint
- typecheck
- typecheck:playwright
- test
publish:
deps:
- check
- build
cmd: nub publish --access public