56
56
- name : Run tests depending on type information
57
57
run : yarn test-with-type-info
58
58
59
- typecheck :
60
- name : Typecheck Examples and Tests
59
+ static-checks :
60
+ name : Static Checks (Lint, Typecheck, Yarn Validate)
61
61
runs-on : ubuntu-latest
62
62
needs : prepare-yarn-cache-ubuntu
63
63
@@ -71,30 +71,14 @@ jobs:
71
71
cache : yarn
72
72
- name : install
73
73
run : yarn --immutable
74
- - name : build
74
+ - name : build TypeScript
75
75
run : yarn build:ts
76
+ - name : build JavaScript
77
+ run : yarn build:js
76
78
- name : typecheck examples
77
79
run : yarn typecheck:examples
78
80
- name : typecheck tests
79
81
run : yarn typecheck:tests
80
-
81
- lint :
82
- name : Lint
83
- runs-on : ubuntu-latest
84
- needs : prepare-yarn-cache-ubuntu
85
-
86
- steps :
87
- - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
88
- with :
89
- persist-credentials : false
90
- - uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
91
- with :
92
- node-version : lts/*
93
- cache : yarn
94
- - name : install
95
- run : yarn --immutable
96
- - name : build
97
- run : yarn build:js
98
82
- name : verify Yarn PnP compatibility
99
83
run : yarn verify-pnp
100
84
- name : run eslint
@@ -105,21 +89,6 @@ jobs:
105
89
run : yarn check-changelog
106
90
- name : check copyright headers
107
91
run : yarn check-copyright-headers
108
-
109
- yarn-validate :
110
- name : Validate Yarn dependencies and constraints
111
- runs-on : ubuntu-latest
112
- needs : prepare-yarn-cache-ubuntu
113
- steps :
114
- - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
115
- with :
116
- persist-credentials : false
117
- - uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
118
- with :
119
- node-version : lts/*
120
- cache : yarn
121
- - name : install
122
- run : yarn --immutable
123
92
- name : ' Check for unmet constraints (fix w/ "yarn constraints --fix")'
124
93
run : yarn constraints
125
94
- name : ' Check for duplicate dependencies (fix w/ "yarn dedupe")'
0 commit comments