File tree Expand file tree Collapse file tree 2 files changed +40
-2
lines changed
Expand file tree Collapse file tree 2 files changed +40
-2
lines changed Original file line number Diff line number Diff line change 2626 ruby -v
2727 bundle install
2828 yarn install
29+ cd site && yarn install && cd ..
2930
3031 - name : CSpell (Spellcheck)
3132 run : bin/spellcheck
@@ -147,7 +148,7 @@ jobs:
147148 # Install dependencies with the specific Rails version
148149 bundle install
149150
150- - name : Run tests
151+ - name : Run Ruby tests
151152 run : bin/test
152153
153154 # Optional: Save coverage data as an artifact
@@ -158,3 +159,40 @@ jobs:
158159 name : coverage-ruby${{ matrix.ruby }}-rails${{ matrix.rails }}
159160 path : coverage/
160161 retention-days : 5
162+
163+ typescript :
164+ name : " TypeScript Tests"
165+ needs : [matrix]
166+ runs-on : ubuntu-22.04
167+ steps :
168+ - uses : actions/checkout@v4
169+
170+ - name : Setup Ruby
171+ uses : ruby/setup-ruby@v1
172+ with :
173+ ruby-version : " 3.3.6"
174+ bundler-cache : true
175+
176+ - name : Setup Node.js
177+ uses : actions/setup-node@v4
178+ with :
179+ node-version : 20
180+ cache : ' yarn'
181+ cache-dependency-path : ' site/yarn.lock'
182+
183+ - name : Install dependencies
184+ run : |
185+ bundle install
186+ cd site && yarn install
187+
188+ - name : Export TypeScript types
189+ run : |
190+ ruby scripts/export_typescript_types.rb
191+
192+ - name : TypeScript type checking
193+ run : |
194+ cd site && npx tsc --noEmit
195+
196+ - name : Run TypeScript tests
197+ run : |
198+ cd site && yarn test
Original file line number Diff line number Diff line change 11/* eslint-disable @typescript-eslint/no-explicit-any */
22// Auto-generated TypeScript definitions for LogStruct
3- // Generated on 2025-03-06 15:19:34
3+ // Generated on 2025-03-06 15:32:01
44
55// Enum types
66export enum Source {
You can’t perform that action at this time.
0 commit comments