Skip to content

Commit d9f3b0c

Browse files
authored
fix: Add npm update on publishing
1 parent 242b761 commit d9f3b0c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/npm-publish.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ jobs:
2525
with:
2626
node-version: ${{ inputs.node-version }}
2727
registry-url: 'https://registry.npmjs.org'
28+
# Ensure npm 11.5.1 or later is installed
29+
- name: Update npm
30+
run: npm install -g npm@latest
2831
- run: npm ci --force
2932
- run: npm publish --access public ${{ inputs.release-tag }}
3033
working-directory: artifact/ngx-darkbox-gallery

0 commit comments

Comments
 (0)