-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
test(ci): add additional attw test for built packages #4648
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
package.json
Outdated
@@ -29,6 +29,7 @@ | ||
"test:firefox": "vitest --project=\"browser (firefox)\"", | ||
"test:chromium": "vitest --project=\"browser (chromium)\"", | ||
"test:unit": "vitest --project unit", | ||
"test:types": "pnpm -r test:attw", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lets do test:attw
here too, no?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ohh, I forgot to rename it, good catch
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
upps, I need to update also ci
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
argg, we don't have cancellation
packages/math/package.json
Outdated
@@ -44,7 +44,9 @@ | ||
], | ||
"scripts": { | ||
"build": "rollup --config=rollup.config.ts --configPlugin=rollup-plugin-esbuild", | ||
"prepack": "pnpm run build" | ||
"prepack": "pnpm run build", | ||
"test:attw": "npx --yes @arethetypeswrong/cli --pack .", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
change this to use attw
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks like I forgot to change this entry 😒
Before submitting the PR, please make sure you do the following
fixes #123
).Description
This PR adds additionnal CI types test via arethetypeswrong cli (attw)
Additional context
It is also ready to switch the configuration to ESM-only PR (#4581) just renaming
test:attw-esm-only
totest:attw
and removing the originaltest:attw
script on each package.json file.