From 40a13c196005e307a440ba0a658c58302f9dcc0c Mon Sep 17 00:00:00 2001 From: Alex Tymchenko Date: Wed, 14 Jan 2026 16:23:22 +0000 Subject: [PATCH] Simplify the publishing as per the NPM recommendations. Include Node 24 into the matrix. --- .github/workflows/build.yml | 2 +- .github/workflows/publish.yml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 96c18f7..cb0dd25 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,7 +9,7 @@ jobs: strategy: matrix: - node-version: [18.x, 20.x] + node-version: [18.x, 20.x, 24.x] steps: - name: Checkout code diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ecf1e56..f6126ed 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -22,7 +22,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v6 with: - node-version: 20.x + node-version: '24' registry-url: 'https://registry.npmjs.org' - name: Install dependencies @@ -32,5 +32,5 @@ jobs: run: npm run build --workspace=@spine-event-engine/validation-ts # This runs: buf generate → patch → tsc (via prepublishOnly) - - name: Publish to npm with provenance - run: npm publish --workspace=@spine-event-engine/validation-ts --provenance --access public + - name: Perform publishing to NPM registry + run: npm publish --workspace=@spine-event-engine/validation-ts