Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/npm-publish-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ name: Node.js Publish Package
on:
release:
types: [published]
workflow_dispatch:
permissions:
id-token: write # Required for OIDC
contents: read
Expand All @@ -17,11 +18,11 @@ jobs:

- uses: actions/setup-node@v6
with:
node-version: '22'
node-version: '24'
registry-url: 'https://registry.npmjs.org'
package-manager-cache: false # never use caching in release builds
- run: npm ci
- run: npm run build --if-present
- run: npm run test:types
# TODO: Create a way to run non-integration tests that don't rely on a MarkLogic Server instance
- run: npm publish --registry=https://registry.npmjs.org/ # Or: npm stage publish
- run: npm publish --registry=https://registry.npmjs.org # Or: npm stage publish
Loading