Skip to content
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

ci: add type checking to github scripts #9851

Merged
merged 3 commits into from
Jul 25, 2024
Merged

Conversation

benelan
Copy link
Member

@benelan benelan commented Jul 25, 2024

Summary

Notes

I got a husky error when installing the github-script types. Here is a related issue: typicode/husky#851

Upgrading husky resolves the error, so I created a pull request: actions/github-script#482

I installed github-script using the PR number for now. We can unpin the PR once it's merged by re-installing via the command in the doc:

npm i -D @types/github-script@github:actions/github-script

@github-actions github-actions bot added the chore Issues with changes that don't modify src or test files. label Jul 25, 2024
@benelan benelan added the skip visual snapshots Pull requests that do not need visual regression testing. label Jul 25, 2024
Copy link
Member

@jcfranco jcfranco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fry-dance

🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺
🕺☝️☝️☝️☝️🕺☝️🕺🕺🕺🕺🕺☝️🕺☝️🕺🕺🕺🕺🕺☝️🕺
🕺☝️🕺🕺☝️🕺☝️🕺🕺🕺🕺🕺☝️🕺☝️🕺🕺🕺🕺🕺☝️🕺
🕺☝️☝️☝️☝️🕺☝️🕺🕺☝️🕺🕺☝️🕺☝️🕺🕺☝️🕺🕺☝️🕺
🕺☝️🕺🕺☝️🕺☝️🕺☝️🕺☝️🕺☝️🕺☝️🕺☝️🕺☝️🕺☝️🕺
🕺☝️🕺🕺☝️🕺🕺☝️🕺🕺🕺☝️🕺🕺🕺☝️🕺🕺🕺☝️🕺🕺
🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺

🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺
🕺☝️🕺🕺🕺☝️🕺☝️🕺🕺🕺☝️🕺🕺☝️☝️☝️🕺🕺☝️☝️☝️🕺🕺☝️☝️☝️🕺☝️🕺
🕺🕺☝️🕺☝️🕺🕺☝️🕺🕺🕺☝️🕺☝️🕺🕺🕺🕺☝️🕺🕺🕺🕺☝️🕺🕺🕺🕺☝️🕺
🕺🕺🕺☝️🕺🕺🕺☝️🕺🕺🕺☝️🕺🕺☝️☝️🕺🕺🕺☝️☝️🕺🕺🕺☝️☝️🕺🕺☝️🕺
🕺🕺🕺☝️🕺🕺🕺☝️🕺🕺🕺☝️🕺🕺🕺🕺☝️🕺🕺🕺🕺☝️🕺🕺🕺🕺☝️🕺🕺🕺
🕺🕺🕺☝️🕺🕺🕺🕺☝️☝️☝️🕺🕺☝️☝️☝️🕺🕺☝️☝️☝️🕺🕺☝️☝️☝️🕺🕺☝️🕺
🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺

@benelan benelan merged commit 14f8cff into dev Jul 25, 2024
10 checks passed
@benelan benelan deleted the benelan/add-github-types branch July 25, 2024 20:54
@github-actions github-actions bot added this to the 2024-07-30 - Jul Release milestone Jul 25, 2024
benelan added a commit that referenced this pull request Jul 25, 2024
…-to-monorepo

* origin/dev:
  ci: add type checking to github scripts (#9851)
  chore: release next
  fix(carousel): Prevent duplicate animation when navigating via keyboard (#9848)
  chore: release next
  fix(tabs): Update tab title indicator display (#9666)
benelan added a commit that referenced this pull request Jul 29, 2024
**Related Issue:** #9851

## Summary

Fixes the case of environment variables in the workflow files, which I
made uppercase in the GitHub scripts.
benelan added a commit that referenced this pull request Jul 29, 2024
**Related Issue:** #9851

## Summary

The PR I created for `actions/github-script` was merged.
calcite-admin pushed a commit that referenced this pull request Jul 30, 2024
## Summary

- Add
[`actions/github-script`](https://github.com/marketplace/actions/github-script)
types
- Add
[`@octokit/webhook-types`](https://www.npmjs.com/package/@octokit/webhooks-types)
for improved payload typing
- Use JSDoc wizardry to typecheck the JavaScript files used by our
workflows

## Notes

I got a husky error when installing the `github-script` types. Here is a
related issue: typicode/husky#851

Upgrading husky resolves the error, so I created a pull request:
actions/github-script#482

I installed `github-script` using the PR number for now. We can unpin
the PR once it's merged by re-installing via the [command in the
doc](https://github.com/actions/github-script/#use-scripts-with-jsdoc-support):

```sh
npm i -D @types/github-script@github:actions/github-script
```
calcite-admin pushed a commit that referenced this pull request Jul 30, 2024
**Related Issue:** #9851

## Summary

Fixes the case of environment variables in the workflow files, which I
made uppercase in the GitHub scripts.
calcite-admin pushed a commit that referenced this pull request Jul 30, 2024
**Related Issue:** #9851

## Summary

The PR I created for `actions/github-script` was merged.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Issues with changes that don't modify src or test files. skip visual snapshots Pull requests that do not need visual regression testing.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants