Skip to content
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
push:
branches: [release/*]

permissions:
id-token: write
contents: read

jobs:
publish-npm:
name: Publish NPM module
Expand All @@ -13,12 +17,9 @@ jobs:
- uses: actions/checkout@v5
- uses: actions/setup-node@v5
with:
node-version: '22.x'
node-version: '24.x'
cache: 'npm'
cache-dependency-path: package-lock.json
- run: npm ci
- run: npm run build
- uses: cucumber/action-publish-npm@v1.1.1
with:
npm-token: ${{ secrets.NPM_TOKEN }}
npm-tag: 'latest'
registry-url: 'https://registry.npmjs.org'
- run: npm install-ci-test
- run: npm publish
File renamed without changes.
File renamed without changes.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"exports:update": "api-extractor run --verbose --local",
"fix": "eslint --max-warnings 0 src --fix && prettier --write src",
"lint": "eslint --max-warnings 0 src && prettier --check src",
"test": "mocha \"src/**/*.spec.ts\""
"test": "mocha \"src/**/*.spec.ts\"",
"prepublishOnly": "npm run build"
},
"repository": {
"type": "git",
Expand Down
Loading