From 2be0e2f88c8d8ecfdb8dba222d9284fe653dcec4 Mon Sep 17 00:00:00 2001 From: Huskydog9988 <39809509+Huskydog9988@users.noreply.github.com> Date: Fri, 4 Apr 2025 19:15:05 -0400 Subject: [PATCH] ci: add typecheck ci --- .github/workflows/ci.yml | 25 +++++++++++++++++++++++++ package.json | 2 +- 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..7451884 --- /dev/null +++ b/.github/workflows/ci.yml @@ -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 diff --git a/package.json b/package.json index 3c0962b..2dcb010 100644 --- a/package.json +++ b/package.json @@ -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",