Skip to content

Commit 40a13c1

Browse files
committed
Simplify the publishing as per the NPM recommendations.
Include Node 24 into the matrix.
1 parent 88fcd96 commit 40a13c1

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99

1010
strategy:
1111
matrix:
12-
node-version: [18.x, 20.x]
12+
node-version: [18.x, 20.x, 24.x]
1313

1414
steps:
1515
- name: Checkout code

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Setup Node.js
2323
uses: actions/setup-node@v6
2424
with:
25-
node-version: 20.x
25+
node-version: '24'
2626
registry-url: 'https://registry.npmjs.org'
2727

2828
- name: Install dependencies
@@ -32,5 +32,5 @@ jobs:
3232
run: npm run build --workspace=@spine-event-engine/validation-ts
3333
# This runs: buf generate → patch → tsc (via prepublishOnly)
3434

35-
- name: Publish to npm with provenance
36-
run: npm publish --workspace=@spine-event-engine/validation-ts --provenance --access public
35+
- name: Perform publishing to NPM registry
36+
run: npm publish --workspace=@spine-event-engine/validation-ts

0 commit comments

Comments
 (0)