You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compose actions/checkout and actions/setup-node and evaluate the execution time (more info here)
Extend this workflow to support the remaining octokit/* of the JS Ecosystem (more info here)
To evaluate the type-only test with tsd (context here)
🚚 Migration Plan
WIP
💬 Discussion points / 🚫 Blockers
Parametrize node_versions [Solved ✅]
The idea would be to parametrize the node_versions for strategy.matrix but apparently, GitHub Action Inputs do not support string[] as an input type (see here, here and here).
Conclusion 🧑⚖️
We are using `fromJSON` helper (details [here](https://github.com//pull/13#discussion_r922566626))
Custom steps in test.yml [Solved ✅]
Right now, most of our test.yml used across Octokit.js repositories have the following code:
What approach do we want to follow for custom steps?
Extra custom-test workflows which extend a generic test.yml?
Add extra logic to test.yml to give support to all the use cases?
Conclusion 🧑⚖️
- We want to support all the use cases by adding extra logic (more details [here](https://github.com//pull/13#issuecomment-1186010553)).
- As a first step, we will focus on octokit/*{.js|.ts} repositories
📖 Description
Create a reusable test.yml workflow to be used across all the repositories of Octokit.js ecosystem.
🏁 Goal
🔭 Scope
octokit/*{.js|.ts}
only.npm run lint --if-present
npm run build --if-present
(context here)🔮 Future work
actions/checkout
andactions/setup-node
and evaluate the execution time (more info here)octokit/*
of the JS Ecosystem (more info here)tsd
(context here)🚚 Migration Plan
WIP
💬 Discussion points / 🚫 Blockers
Parametrize
node_versions
[Solved ✅]The idea would be to parametrize the
node_versions
forstrategy.matrix
but apparently, GitHub Action Inputs do not supportstring[]
as an input type (see here, here and here).Conclusion 🧑⚖️
We are using `fromJSON` helper (details [here](https://github.com//pull/13#discussion_r922566626))Custom steps in
test.yml
[Solved ✅]Right now, most of our
test.yml
used across Octokit.js repositories have the following code:But there are some repositories which have extra steps or different steps:
lint
scriptnode scripts/update
test_matrix
jobcustom-test
workflows which extend a generictest.yml
?test.yml
to give support to all the use cases?Conclusion 🧑⚖️
- We want to support all the use cases by adding extra logic (more details [here](https://github.com//pull/13#issuecomment-1186010553)). - As a first step, we will focus onoctokit/*{.js|.ts}
repositoriesFootnotes
https://github.com/orgs/octokit/teams/js-community/discussions/11?from_comment=12 ↩
The text was updated successfully, but these errors were encountered: