Skip to content

Commit da519e4

Browse files
authored
Merge pull request #119 from simonsobs/dev
Run static type check on GitHub Actions
2 parents 076d7dd + 27f3bd9 commit da519e4

File tree

4 files changed

+138
-1
lines changed

4 files changed

+138
-1
lines changed

.github/workflows/type-check.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Check static types
2+
3+
on:
4+
push:
5+
branches:
6+
- "**"
7+
pull_request:
8+
branches:
9+
- "**"
10+
11+
jobs:
12+
test:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- uses: actions/checkout@v5
17+
18+
- name: Use Node.js
19+
uses: actions/setup-node@v5
20+
with:
21+
node-version: "22.x"
22+
23+
- name: Install dependencies
24+
run: yarn install
25+
26+
- name: Type check
27+
run: yarn type-check

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
[![npm](https://img.shields.io/npm/v/nextline-web)](https://www.npmjs.com/package/nextline-web)
44
[![Unit tests](https://github.com/simonsobs/nextline-web/actions/workflows/unit-test.yml/badge.svg)](https://github.com/simonsobs/nextline-web/actions/workflows/unit-test.yml)
5+
[![Test Status](https://github.com/simonsobs/nextline-web/actions/workflows/type-check.yml/badge.svg)](https://github.com/simonsobs/nextline-web/actions/workflows/type-check.yml)
56

67
The front-end web app of Nextline.
78

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"build": "vite build",
1010
"test": "vitest",
1111
"coverage": "vitest run --coverage",
12+
"type-check": "vue-tsc --noEmit",
1213
"lint": "eslint src",
1314
"codegen": "graphql-codegen --config codegen.ts"
1415
},
@@ -67,6 +68,7 @@
6768
"vite-plugin-package-version": "^1.1.0",
6869
"vite-plugin-vuetify": "2.1.2",
6970
"vitest": "~3.2.4",
70-
"vue-eslint-parser": "^10.2.0"
71+
"vue-eslint-parser": "^10.2.0",
72+
"vue-tsc": "^2.0.0"
7173
}
7274
}

yarn.lock

Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2411,6 +2411,27 @@
24112411
loupe "^3.1.4"
24122412
tinyrainbow "^2.0.0"
24132413

2414+
"@volar/language-core@2.4.15":
2415+
version "2.4.15"
2416+
resolved "https://registry.yarnpkg.com/@volar/language-core/-/language-core-2.4.15.tgz#759d04cb4eab9920560b8bcfa4515d5b08a1b7ce"
2417+
integrity sha512-3VHw+QZU0ZG9IuQmzT68IyN4hZNd9GchGPhbD9+pa8CVv7rnoOZwo7T8weIbrRmihqy3ATpdfXFnqRrfPVK6CA==
2418+
dependencies:
2419+
"@volar/source-map" "2.4.15"
2420+
2421+
"@volar/source-map@2.4.15":
2422+
version "2.4.15"
2423+
resolved "https://registry.yarnpkg.com/@volar/source-map/-/source-map-2.4.15.tgz#18aba09994c0268e59a418f9d738e4a85302781d"
2424+
integrity sha512-CPbMWlUN6hVZJYGcU/GSoHu4EnCHiLaXI9n8c9la6RaI9W5JHX+NqG+GSQcB0JdC2FIBLdZJwGsfKyBB71VlTg==
2425+
2426+
"@volar/typescript@2.4.15":
2427+
version "2.4.15"
2428+
resolved "https://registry.yarnpkg.com/@volar/typescript/-/typescript-2.4.15.tgz#1445d23f8e4f9ad821b6bfa58cf4a2b980dc5f97"
2429+
integrity sha512-2aZ8i0cqPGjXb4BhkMsPYDkkuc2ZQ6yOpqwAuNwUoncELqoy5fRgOQtLR9gB0g902iS0NAkvpIzs27geVyVdPg==
2430+
dependencies:
2431+
"@volar/language-core" "2.4.15"
2432+
path-browserify "^1.0.1"
2433+
vscode-uri "^3.0.8"
2434+
24142435
"@vue/compiler-core@3.5.13":
24152436
version "3.5.13"
24162437
resolved "https://registry.yarnpkg.com/@vue/compiler-core/-/compiler-core-3.5.13.tgz#b0ae6c4347f60c03e849a05d34e5bf747c9bda05"
@@ -2422,6 +2443,17 @@
24222443
estree-walker "^2.0.2"
24232444
source-map-js "^1.2.0"
24242445

2446+
"@vue/compiler-core@3.5.21":
2447+
version "3.5.21"
2448+
resolved "https://registry.yarnpkg.com/@vue/compiler-core/-/compiler-core-3.5.21.tgz#5915b19273f0492336f0beb227aba86813e2c8a8"
2449+
integrity sha512-8i+LZ0vf6ZgII5Z9XmUvrCyEzocvWT+TeR2VBUVlzIH6Tyv57E20mPZ1bCS+tbejgUgmjrEh7q/0F0bibskAmw==
2450+
dependencies:
2451+
"@babel/parser" "^7.28.3"
2452+
"@vue/shared" "3.5.21"
2453+
entities "^4.5.0"
2454+
estree-walker "^2.0.2"
2455+
source-map-js "^1.2.1"
2456+
24252457
"@vue/compiler-dom@3.5.13":
24262458
version "3.5.13"
24272459
resolved "https://registry.yarnpkg.com/@vue/compiler-dom/-/compiler-dom-3.5.13.tgz#bb1b8758dbc542b3658dda973b98a1c9311a8a58"
@@ -2430,6 +2462,14 @@
24302462
"@vue/compiler-core" "3.5.13"
24312463
"@vue/shared" "3.5.13"
24322464

2465+
"@vue/compiler-dom@^3.5.0":
2466+
version "3.5.21"
2467+
resolved "https://registry.yarnpkg.com/@vue/compiler-dom/-/compiler-dom-3.5.21.tgz#26126447fe1e1d16c8cbac45b26e66b3f7175f65"
2468+
integrity sha512-jNtbu/u97wiyEBJlJ9kmdw7tAr5Vy0Aj5CgQmo+6pxWNQhXZDPsRr1UWPN4v3Zf82s2H3kF51IbzZ4jMWAgPlQ==
2469+
dependencies:
2470+
"@vue/compiler-core" "3.5.21"
2471+
"@vue/shared" "3.5.21"
2472+
24332473
"@vue/compiler-sfc@3.5.13":
24342474
version "3.5.13"
24352475
resolved "https://registry.yarnpkg.com/@vue/compiler-sfc/-/compiler-sfc-3.5.13.tgz#461f8bd343b5c06fac4189c4fef8af32dea82b46"
@@ -2453,6 +2493,14 @@
24532493
"@vue/compiler-dom" "3.5.13"
24542494
"@vue/shared" "3.5.13"
24552495

2496+
"@vue/compiler-vue2@^2.7.16":
2497+
version "2.7.16"
2498+
resolved "https://registry.yarnpkg.com/@vue/compiler-vue2/-/compiler-vue2-2.7.16.tgz#2ba837cbd3f1b33c2bc865fbe1a3b53fb611e249"
2499+
integrity sha512-qYC3Psj9S/mfu9uVi5WvNZIzq+xnXMhOwbTFKKDD7b1lhpnn71jXSFdTQ+WsIEk0ONCd7VV2IMm7ONl6tbQ86A==
2500+
dependencies:
2501+
de-indent "^1.0.2"
2502+
he "^1.2.0"
2503+
24562504
"@vue/devtools-api@^6.6.4":
24572505
version "6.6.4"
24582506
resolved "https://registry.yarnpkg.com/@vue/devtools-api/-/devtools-api-6.6.4.tgz#cbe97fe0162b365edc1dba80e173f90492535343"
@@ -2495,6 +2543,20 @@
24952543
typescript-eslint "^8.35.1"
24962544
vue-eslint-parser "^10.2.0"
24972545

2546+
"@vue/language-core@2.2.12":
2547+
version "2.2.12"
2548+
resolved "https://registry.yarnpkg.com/@vue/language-core/-/language-core-2.2.12.tgz#d01f7e865f593f968cb65c12a13d8337e65641f0"
2549+
integrity sha512-IsGljWbKGU1MZpBPN+BvPAdr55YPkj2nB/TBNGNC32Vy2qLG25DYu/NBN2vNtZqdRbTRjaoYrahLrToim2NanA==
2550+
dependencies:
2551+
"@volar/language-core" "2.4.15"
2552+
"@vue/compiler-dom" "^3.5.0"
2553+
"@vue/compiler-vue2" "^2.7.16"
2554+
"@vue/shared" "^3.5.0"
2555+
alien-signals "^1.0.3"
2556+
minimatch "^9.0.3"
2557+
muggle-string "^0.4.1"
2558+
path-browserify "^1.0.1"
2559+
24982560
"@vue/reactivity@3.5.13":
24992561
version "3.5.13"
25002562
resolved "https://registry.yarnpkg.com/@vue/reactivity/-/reactivity-3.5.13.tgz#b41ff2bb865e093899a22219f5b25f97b6fe155f"
@@ -2533,6 +2595,11 @@
25332595
resolved "https://registry.yarnpkg.com/@vue/shared/-/shared-3.5.13.tgz#87b309a6379c22b926e696893237826f64339b6f"
25342596
integrity sha512-/hnE/qP5ZoGpol0a5mDi45bOd7t3tjYJBjsgCsivow7D48cJeV5l05RD82lPqi7gRiphZM37rnhW1l6ZoCNNnQ==
25352597

2598+
"@vue/shared@3.5.21", "@vue/shared@^3.5.0":
2599+
version "3.5.21"
2600+
resolved "https://registry.yarnpkg.com/@vue/shared/-/shared-3.5.21.tgz#505edb122629d1979f70a2a65ca0bd4050dc2e54"
2601+
integrity sha512-+2k1EQpnYuVuu3N7atWyG3/xoFWIVJZq4Mz8XNOdScFI0etES75fbny/oU4lKWk/577P1zmg0ioYvpGEDZ3DLw==
2602+
25362603
"@vue/test-utils@^2.4.6":
25372604
version "2.4.6"
25382605
resolved "https://registry.yarnpkg.com/@vue/test-utils/-/test-utils-2.4.6.tgz#7d534e70c4319d2a587d6a3b45a39e9695ade03c"
@@ -2704,6 +2771,11 @@ ajv@^6.12.4:
27042771
json-schema-traverse "^0.4.1"
27052772
uri-js "^4.2.2"
27062773

2774+
alien-signals@^1.0.3:
2775+
version "1.0.13"
2776+
resolved "https://registry.yarnpkg.com/alien-signals/-/alien-signals-1.0.13.tgz#8d6db73462f742ee6b89671fbd8c37d0b1727a7e"
2777+
integrity sha512-OGj9yyTnJEttvzhTUWuscOvtqxq5vrhF7vL9oS0xJ2mK0ItPYP1/y+vCFebfxoEyAz0++1AIwJ5CMr+Fk3nDmg==
2778+
27072779
ansi-escapes@^4.2.1, ansi-escapes@^4.3.0:
27082780
version "4.3.2"
27092781
resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-4.3.2.tgz#6b2291d1db7d98b6521d5f1efa42d0f3a9feb65e"
@@ -3411,6 +3483,11 @@ dataloader@^2.2.2:
34113483
resolved "https://registry.yarnpkg.com/dataloader/-/dataloader-2.2.2.tgz#216dc509b5abe39d43a9b9d97e6e5e473dfbe3e0"
34123484
integrity sha512-8YnDaaf7N3k/q5HnTJVuzSyLETjoZjVmHc4AeKAzOvKHEFQKcn64OKBfzHYtE9zGjctNM7V9I0MfnUVLpi7M5g==
34133485

3486+
de-indent@^1.0.2:
3487+
version "1.0.2"
3488+
resolved "https://registry.yarnpkg.com/de-indent/-/de-indent-1.0.2.tgz#b2038e846dc33baa5796128d0804b455b8c1e21d"
3489+
integrity sha512-e/1zu3xH5MQryN2zdVaF0OrdNLUbvWxzMbi+iNA6Bky7l1RoP8a2fIbRocyHclXt/arDrrR6lL3TqFD9pMQTsg==
3490+
34143491
debounce@^1.2.0:
34153492
version "1.2.1"
34163493
resolved "https://registry.yarnpkg.com/debounce/-/debounce-1.2.1.tgz#38881d8f4166a5c5848020c11827b834bcb3e0a5"
@@ -4533,6 +4610,11 @@ hasown@^2.0.2:
45334610
dependencies:
45344611
function-bind "^1.1.2"
45354612

4613+
he@^1.2.0:
4614+
version "1.2.0"
4615+
resolved "https://registry.yarnpkg.com/he/-/he-1.2.0.tgz#84ae65fa7eafb165fddb61566ae14baf05664f0f"
4616+
integrity sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==
4617+
45364618
header-case@^2.0.4:
45374619
version "2.0.4"
45384620
resolved "https://registry.yarnpkg.com/header-case/-/header-case-2.0.4.tgz#5a42e63b55177349cf405beb8d775acabb92c063"
@@ -5411,6 +5493,13 @@ minimatch@^9.0.1:
54115493
dependencies:
54125494
brace-expansion "^2.0.1"
54135495

5496+
minimatch@^9.0.3:
5497+
version "9.0.5"
5498+
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.5.tgz#d74f9dd6b57d83d8e98cfb82133b03978bc929e5"
5499+
integrity sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==
5500+
dependencies:
5501+
brace-expansion "^2.0.1"
5502+
54145503
minimatch@^9.0.4:
54155504
version "9.0.4"
54165505
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.4.tgz#8e49c731d1749cbec05050ee5145147b32496a51"
@@ -5458,6 +5547,11 @@ ms@^2.1.1, ms@^2.1.3:
54585547
resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2"
54595548
integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==
54605549

5550+
muggle-string@^0.4.1:
5551+
version "0.4.1"
5552+
resolved "https://registry.yarnpkg.com/muggle-string/-/muggle-string-0.4.1.tgz#3b366bd43b32f809dc20659534dd30e7c8a0d328"
5553+
integrity sha512-VNTrAak/KhO2i8dqqnqnAHOa3cYBwXEZe9h+D5h/1ZqFSTEFHdM65lR7RoIqq3tBBYavsOXV84NoHXZ0AkPyqQ==
5554+
54615555
mute-stream@0.0.8:
54625556
version "0.0.8"
54635557
resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.8.tgz#1630c42b2251ff81e2a283de96a5497ea92e5e0d"
@@ -7153,6 +7247,11 @@ vitest@~3.2.4:
71537247
vite-node "3.2.4"
71547248
why-is-node-running "^2.3.0"
71557249

7250+
vscode-uri@^3.0.8:
7251+
version "3.1.0"
7252+
resolved "https://registry.yarnpkg.com/vscode-uri/-/vscode-uri-3.1.0.tgz#dd09ec5a66a38b5c3fffc774015713496d14e09c"
7253+
integrity sha512-/BpdSx+yCQGnCvecbyXdxHDkuk55/G3xwnC0GqY4gmQ3j+A+g8kzzgB4Nk/SINjqn6+waqw3EgbVF2QKExkRxQ==
7254+
71567255
vue-component-type-helpers@^2.0.0:
71577256
version "2.0.16"
71587257
resolved "https://registry.yarnpkg.com/vue-component-type-helpers/-/vue-component-type-helpers-2.0.16.tgz#bfdb9cba265dca097b0f3411baeae879e008c33d"
@@ -7182,6 +7281,14 @@ vue-router@^4.5.0:
71827281
dependencies:
71837282
"@vue/devtools-api" "^6.6.4"
71847283

7284+
vue-tsc@^2.0.0:
7285+
version "2.2.12"
7286+
resolved "https://registry.yarnpkg.com/vue-tsc/-/vue-tsc-2.2.12.tgz#5f719b08ef7390a763c1a20169ca5c9d09d55688"
7287+
integrity sha512-P7OP77b2h/Pmk+lZdJ0YWs+5tJ6J2+uOQPo7tlBnY44QqQSPYvS0qVT4wqDJgwrZaLe47etJLLQRFia71GYITw==
7288+
dependencies:
7289+
"@volar/typescript" "2.4.15"
7290+
"@vue/language-core" "2.2.12"
7291+
71857292
vue@^3.5.13, vue@~3.5.13:
71867293
version "3.5.13"
71877294
resolved "https://registry.yarnpkg.com/vue/-/vue-3.5.13.tgz#9f760a1a982b09c0c04a867903fc339c9f29ec0a"

0 commit comments

Comments
 (0)