Skip to content

Commit dbbf23d

Browse files
authored
Check npm version check before publishing
1 parent 1dfb900 commit dbbf23d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,5 +100,7 @@ jobs:
100100
registry-url: 'https://registry.npmjs.org'
101101
- name: Disable pre- and post-publish actions
102102
run: 'sed -i -E "s/\"((pre|post)publish)/\"ignore:\1/" package.json'
103+
- name: Check npm version
104+
run: npm --version
103105
- name: Publish to npm
104106
run: npm publish

0 commit comments

Comments
 (0)