Skip to content

Commit 72dac4f

Browse files
committed
ci: modernize publish workflow (Node 24, npm ci, auto-provenance)
1 parent 3ff02f6 commit 72dac4f

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/publish.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,14 @@ jobs:
4242
- name: Setup Node.js
4343
uses: actions/setup-node@v4
4444
with:
45-
node-version: '22'
45+
node-version: '24'
4646
registry-url: 'https://registry.npmjs.org'
47-
cache: 'npm'
4847

4948
- name: Install Dependencies
50-
run: npm install
49+
run: npm ci
5150

5251
- name: Publish to npm
53-
run: npm publish --provenance --access public
52+
run: npm publish --access public
5453

5554
- name: Create GitHub Release
5655
uses: softprops/action-gh-release@v2

0 commit comments

Comments
 (0)