-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlocal-ci.sh
executable file
·73 lines (47 loc) · 1.75 KB
/
local-ci.sh
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
#!/bin/zsh
set -e
MODE='build'
pnpm playwright test ./tests/basics.spec.ts
pnpm playwright test ./tests/minimal-server-express.spec.ts
pnpm playwright test ./tests/minimal-server-hono.spec.ts
# FIXME:
pnpm playwright test ./tests/minimal-static.spec.ts
# - Unexposed
pnpm playwright test ./tests/minimal-minification.spec.ts
# FIXME:
pnpm playwright test ./tests/minimal-client-routing.spec.ts
# - WIP
pnpm playwright test ./tests/minimal-bootstrap-tailwind.spec.ts
pnpm playwright test ./tests/minimal-testing.spec.ts
#
./templates-src/minimal-testing/tests/launch-all.sh
# node --experimental-strip-types --test --test-concurrency=1,1 tests/_suite/all*.test.ts
# node --experimental-strip-types --watch --test tests/_suite/all.test.ts
# pnpm --prefix templates -r i
# cd templates/minimal-static && node --run build && cd ../..
# cd templates/minimal-server-express && node --run build && cd ../..
# cd templates/minimal-server-hono && node --run build && cd ../..
# cd templates/basics-server && node --run build && cd ../..
# cd templates/basics-static-blog && node --run build && cd ../..
# # pnpm playwright test tests/minimal-static.spec.ts
# pnpm playwright test tests/minimal-server-express.spec.ts
# pnpm playwright test tests/minimal-server-hono.spec.ts
# pnpm playwright test tests/basics-server.spec.ts
# pnpm playwright test tests/basics-static-blog.spec.ts
# pnpm --prefix templates/minimal-static dev
# # NOTE: Mac only
# killall node
# node --run format:fix
# node --run lint:es:fix
# set -e
# pnpm install --frozen-lockfile
# # TODO: More
# # node --run syncpack:lint
# pnpm audit signatures
# node --run lint:commit
# node --run format
# node --run build
# node --run lint:es
# node --run test:unit
# node --run test:integration
# # Lerna…