Skip to content

Commit eddfb15

Browse files
committed
chore: reuse the action
1 parent 186cade commit eddfb15

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,6 @@ jobs:
3535
- name: Set up latest NPM for publish
3636
uses: actions/setup-node@v5
3737
with:
38-
node-version: 22
38+
node-version: 24
3939
registry-url: "https://registry.npmjs.org"
40-
# Ensure npm 11.5.1 or later is installed
41-
- name: Update npm
42-
run: npm install -g npm@latest
43-
- name: Build and publish package
44-
if: startsWith(github.ref, 'refs/tags/')
45-
run: npm publish --access=public --tag ${GITHUB_REF_NAME#v}
46-
40+
- uses: JS-DevTools/npm-publish@v4

0 commit comments

Comments
 (0)