Skip to content

Commit 6e60ec1

Browse files
authored
Fix npm release by upgrading node (#1686)
1 parent ffaf04f commit 6e60ec1

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/publish.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ jobs:
3939

4040
- uses: actions/setup-node@v4
4141
with:
42-
node-version: '20'
42+
node-version: '24' # Node 24+ includes npm 11.5.1+ required for OIDC trusted publishing
43+
registry-url: 'https://registry.npmjs.org'
4344

4445
#
4546
# Build Python packages
@@ -89,7 +90,10 @@ jobs:
8990
packages-dir: datajunction-clients/python/dist/
9091

9192
#
92-
# Publish JavaScript packages to npm
93+
# Publish JavaScript packages to npm (using OIDC trusted publishing)
94+
# NOTE: Each package must be configured on npmjs.com:
95+
# Package Settings → Trusted Publisher → GitHub Actions
96+
# Organization: DataJunction, Repository: dj, Workflow: publish.yml
9397
#
9498
- name: Publish DJ UI to npm
9599
continue-on-error: true

0 commit comments

Comments
 (0)