ci: add typecheck ci

This commit is contained in:
Huskydog9988
2025-04-04 19:15:05 -04:00
parent 7df175b747
commit 2be0e2f88c
2 changed files with 26 additions and 1 deletions

25
.github/workflows/ci.yml vendored Normal file
View File

@ -0,0 +1,25 @@
name: CI
on: [pull_request, push]
jobs:
typecheck:
name: Typecheck
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v4
with:
submodules: true
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: lts/*
cache: "yarn"
- name: Install dependencies
run: yarn install --immutable --network-timeout 1000000
- name: Typecheck
run: yarn typecheck

View File

@ -9,7 +9,7 @@
"generate": "nuxt generate",
"preview": "nuxt preview",
"postinstall": "nuxt prepare",
"typecheck": "nuxi typecheck"
"typecheck": "nuxt typecheck"
},
"dependencies": {
"@drop-oss/droplet": "^0.7.2",