-
Notifications
You must be signed in to change notification settings - Fork 3
68 lines (55 loc) · 1.58 KB
/
Copy pathci-web.yml
File metadata and controls
68 lines (55 loc) · 1.58 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
name: CI Web
on:
push:
branches: [main]
pull_request:
types: [opened, synchronize, reopened]
branches: [main]
paths:
- 'tsworkspace/**'
- '.mise.toml'
- '.github/workflows/ci-web.yml'
concurrency:
group: ci-web-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
verify:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
- name: Setup pnpm
uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
with:
package_json_file: tsworkspace/package.json
- name: Setup Node
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 26
cache: pnpm
cache-dependency-path: tsworkspace/pnpm-lock.yaml
- name: Install dependencies
run: pnpm install --frozen-lockfile
working-directory: tsworkspace
- name: Format check
run: pnpm fmt:check
working-directory: tsworkspace
- name: Lint
run: pnpm lint
working-directory: tsworkspace
- name: Typecheck
run: pnpm typecheck
working-directory: tsworkspace
- name: Build
run: pnpm build
working-directory: tsworkspace
- name: Test
run: pnpm test
working-directory: tsworkspace
- name: Primitive layer policy
run: pnpm check:primitives
working-directory: tsworkspace