[release-12.0.6] NPM: Backport NPM publishing from main (#111995)

* Backport npm publishing workflow from main

* Ignore false-cjs in validate-npm-packages
This commit is contained in:
Josh Hunt
2025-10-06 13:51:38 +01:00
committed by GitHub
parent 5d655ccf37
commit d351ebe919
5 changed files with 349 additions and 26 deletions

11
.github/actions/setup-node/action.yml vendored Normal file
View File

@@ -0,0 +1,11 @@
name: Setup Node.js
description: Sets up a node.js environment with presets for the Grafana repository.
runs:
using: "composite"
steps:
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'yarn'
cache-dependency-path: 'yarn.lock'