Files
openobserve/.github/workflows
Bhargav 52a1af811b fix: workflow to update npm packages (#9739)
### **PR Type**
Enhancement


___

### **Description**
- Add weekly automated npm update workflow

- Check and update outdated packages when needed

- Run type checks, unit tests, and build steps

- Commit changes and create pull request automatically


___

### Diagram Walkthrough


```mermaid
flowchart LR
  Sched["Weekly schedule or manual trigger"]
  Clone["Checkout repository"]
  Setup["Setup Node.js environment"]
  Check["Check for outdated packages"]
  NoUpdates["All packages up to date"]
  Update["Update dependencies"]
  Test["Run type check & tests & build"]
  Commit["Commit & push changes"]
  PR["Create Pull Request"]
  Sched --> Clone
  Clone --> Setup
  Setup --> Check
  Check -- "no updates" --> NoUpdates
  Check -- "updates found" --> Update
  Update --> Test
  Test --> Commit
  Commit --> PR
```



<details> <summary><h3> File Walkthrough</h3></summary>

<table><thead><tr><th></th><th align="left">Relevant
files</th></tr></thead><tbody><tr><td><strong>Configuration
changes</strong></td><td><table>
<tr>
  <td>
    <details>
<summary><strong>npm-update.yml</strong><dd><code>Add NPM dependencies
update workflow</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; </dd></summary>
<hr>

.github/workflows/npm-update.yml

<ul><li>Added weekly scheduled npm update workflow<br> <li> Configured
checkout, Node.js setup, and git user<br> <li> Implemented outdated
check and conditional updates<br> <li> Automated type check, tests,
build, commit, and PR creation</ul>


</details>


  </td>
<td><a
href="https://github.com/openobserve/openobserve/pull/9739/files#diff-0c30a473c3140f6e541f563e4efad9f8fbcdf396673e5fef4fbd479ef3904b8e">+177/-0</a>&nbsp;
</td>

</tr>
</table></td></tr></tr></tbody></table>

</details>

___
2025-12-24 17:30:37 +05:30
..