diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index a0c136d..cf6541d 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -23,3 +23,18 @@ jobs: - name: Check types run: pnpm check:types + + test: + name: Tests + runs-on: ubuntu-latest + steps: + - name: Clone repository + uses: actions/checkout@v4 + with: + submodules: 'recursive' + + - name: Install dependencies + uses: ./.github/actions/install-dependencies + + - name: Run tests + run: pnpm test diff --git a/package.json b/package.json index e8daba5..033895a 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,7 @@ "check:write": "biome check --write --unsafe .", "dev": "turbo dev", "format": "biome format --write", + "test": "turbo test", "typecheck": "turbo typecheck", "publish-packages": "turbo run build typecheck && changeset version && changeset publish" }, diff --git a/turbo.json b/turbo.json index a668266..ae87988 100644 --- a/turbo.json +++ b/turbo.json @@ -10,6 +10,9 @@ "dependsOn": ["^build"], "outputs": ["dist/**"] }, + "test": { + "dependsOn": ["build", "^test"] + }, "typecheck": { "dependsOn": ["build", "^typecheck"] },