chore: check in types

To ensure that changes to code/types doesn't result in unwanted changes in type generation, or that bumps to dts-buddy don't cause unwanted regressions, we're checking in the generated types. Types should be committed as-is (don't format it with prettier!). CI is enhanced to check that git sees no changed files after generating the types, which would mean types have changed.
pull/9863/head
Simon Holthausen 3 years ago
parent cb529fc666
commit 766a75c5fd

@ -50,4 +50,4 @@ jobs:
with:
node-version: 18
cache: pnpm
- run: 'pnpm i && pnpm check && pnpm lint'
- run: pnpm i && pnpm check && pnpm lint && pnpm build && [ "`git status --porcelain=v1`" == "" ] # ensures that commited types are up-to-date

@ -1,4 +1,5 @@
/types
/types/*.map
/types/compiler
/compiler.cjs
/action.d.ts

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save