Commit 35a631b
test: Update npm to latest in test_node_templates workflow (#611)
Ensures the `test_node_templates.yaml` workflow uses the latest npm
version instead of the bundled version that ships with each Node.js
release.
## Changes
- Added `npm install -g npm@latest` step after Node.js setup and before
dependency installation
- Step executes across all matrix combinations (Node 20, 22, 24 on
Ubuntu and Windows)
This updates npm from 10.8.2 (bundled) to 11.7.0+ (latest) for
consistent testing with current npm features and fixes.
<!-- START COPILOT CODING AGENT SUFFIX -->
<!-- START COPILOT ORIGINAL PROMPT -->
<details>
<summary>Original prompt</summary>
> update npm to latest in this flow:
https://github.com/apify/actor-templates/blob/master/.github/workflows/test_node_templates.yaml
</details>
<!-- START COPILOT CODING AGENT TIPS -->
---
✨ Let Copilot coding agent [set things up for
you](https://github.com/apify/actor-templates/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.
---------
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: B4nan <[email protected]>1 parent 3183df6 commit 35a631b
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
27 | 30 | | |
28 | 31 | | |
29 | 32 | | |
| |||
0 commit comments