Skip to content

Commit ad49517

Browse files
committed
Add build step to workflows and simplify tsconfig.check.json
1 parent 22719f4 commit ad49517

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,5 @@ permissions:
1414
jobs:
1515
test:
1616
uses: SocketDev/socket-registry/.github/workflows/test.yml@main
17+
with:
18+
setup-script: 'pnpm run build'

.github/workflows/types.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,5 @@ permissions:
1414
jobs:
1515
type-check:
1616
uses: SocketDev/socket-registry/.github/workflows/types.yml@main
17+
with:
18+
setup-script: 'pnpm run build'

tsconfig.check.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,10 @@
66
"noEmit": true,
77
"noPropertyAccessFromIndexSignature": false,
88
"noUncheckedIndexedAccess": false,
9-
"paths": {
10-
"../dist/*": ["./src/*"]
11-
},
129
"skipLibCheck": true,
1310
"types": ["vitest/globals", "node"],
1411
"verbatimModuleSyntax": false
1512
},
16-
"include": ["**/*.ts", "**/*.mts"],
13+
"include": ["src/**/*.ts", "test/**/*.mts"],
1714
"exclude": ["**/node_modules/**/*"]
1815
}

0 commit comments

Comments
 (0)