Commit 007396c
Update workflows to use Node.js 22.14.0 (#1116)
## Description
### Why
GitHub Actions workflow templates were using default runner Node.js
versions, which may vary across runner images and become outdated.
Pinning to Node.js 22.14.0 ensures consistent build environments across
all CI runs.
### Changes
- Added `actions/setup-node@v4` to `template-upgradesample.yml` and
`template-buildsample.yml`
- Node.js 22.14.0 is now configured immediately after checkout in both
workflow templates
- Affects all workflows that call these templates: `ci.yml`, `pr.yml`,
and `ci-upgrade.yml`
## Screenshots
N/A - Workflow configuration changes only
<!-- START COPILOT ORIGINAL PROMPT -->
<details>
<summary>Original prompt</summary>
>
> ----
>
> *This section details on the original issue you should resolve*
>
> <issue_title>Update workflows to use node version >=
22.14.0</issue_title>
> <issue_description>Make changes in this file alone
template-upgradesample.yml, template-buildsample.yml</issue_description>
>
> <agent_instructions>Create a PR so that all workflow will use node
version 22.14.0 for wherever it is necessary.</agent_instructions>
>
> ## Comments on the Issue (you are @copilot in this section)
>
> <comments>
> </comments>
>
</details>
<!-- START COPILOT CODING AGENT SUFFIX -->
- Fixes #1115
<!-- START COPILOT CODING AGENT TIPS -->
---
✨ Let Copilot coding agent [set things up for
you](https://github.com/microsoft/react-native-windows-samples/issues/new?title=✨+Set+up+Copilot+instructions&body=Configure%20instructions%20for%20this%20repository%20as%20documented%20in%20%5BBest%20practices%20for%20Copilot%20coding%20agent%20in%20your%20repository%5D%28https://gh.io/copilot-coding-agent-tips%29%2E%0A%0A%3COnboard%20this%20repo%3E&assignees=copilot)
— coding agent works faster and does higher quality work when set up for
your repo.
###### Microsoft Reviewers: [Open in
CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/microsoft/react-native-windows-samples/pull/1116)
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: vineethkuttan <66076509+vineethkuttan@users.noreply.github.com>1 parent cd7984c commit 007396c
File tree
2 files changed
+10
-0
lines changed- .github/workflows
2 files changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
57 | 62 | | |
58 | 63 | | |
59 | 64 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
68 | 73 | | |
69 | 74 | | |
70 | 75 | | |
| |||
0 commit comments