diff --git a/.github/workflows/npm-publish-packages.yml b/.github/workflows/npm-publish-packages.yml index 23f734ef..49196310 100644 --- a/.github/workflows/npm-publish-packages.yml +++ b/.github/workflows/npm-publish-packages.yml @@ -6,6 +6,7 @@ name: Node.js Publish Package on: release: types: [published] + workflow_dispatch: permissions: id-token: write # Required for OIDC contents: read @@ -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