Skip to content

Commit 81f8735

Browse files
committed
Try to get npm publish to work
1 parent b96d583 commit 81f8735

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/npm-publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,13 @@ jobs:
2929
merge-multiple: true
3030
- uses: actions/setup-node@v4
3131
with:
32-
node-version: '20.x'
32+
node-version: '24.x'
3333
registry-url: 'https://registry.npmjs.org'
3434
- name: Update npm
3535
run: npm install -g npm@latest
3636
- name: Publish to npm with provenance
37+
env:
38+
NPM_CONFIG_PROVENANCE: true
3739
run: |
3840
for release in $(echo "$PLAN" | jq --compact-output '.releases[] | select([.artifacts[] | endswith("-npm-package.tar.gz")] | any)'); do
3941
pkg=$(echo "$release" | jq '.artifacts[] | select(endswith("-npm-package.tar.gz"))' --raw-output)

0 commit comments

Comments
 (0)