Skip to content

Commit 081a4ce

Browse files
authored
[release-12.1.2] Backport npm release 12.1.2 (#111498)
Update NPM release workflow
1 parent 599911b commit 081a4ce

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/release-npm.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,11 @@ jobs:
8989
persist-credentials: false
9090
ref: ${{ inputs.grafana_commit }}
9191

92-
- name: Setup Node
93-
uses: ./.github/actions/setup-node
92+
- uses: actions/setup-node@v4
93+
with:
94+
node-version-file: '.nvmrc'
95+
cache: 'yarn'
96+
cache-dependency-path: 'yarn.lock'
9497

9598
# Trusted Publishing is only available in npm v11.5.1 and later
9699
- name: Update npm
@@ -118,9 +121,6 @@ jobs:
118121
- name: Debug packed files
119122
run: tree -a ./npm-artifacts
120123

121-
- name: Validate packages
122-
run: ./scripts/validate-npm-packages.sh
123-
124124
- name: Debug OIDC Claims
125125
uses: github/actions-oidc-debugger@2e9ba5d3f4bebaad1f91a2cede055115738b7ae8
126126
with:
@@ -144,4 +144,3 @@ jobs:
144144
persist-credentials: false
145145

146146
# TODO: tag the given release with nightly
147-

0 commit comments

Comments
 (0)