Skip to content

Update action workflow for Trusted publishing #236

Update action workflow for Trusted publishing

Update action workflow for Trusted publishing #236

Workflow file for this run

name: Node/NPM CI
on:
push:
branches:
- master
permissions:
id-token: write # supports npmjs.com Trusted Publishers
contents: read # to access the current repo
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '24'
registry-url: 'https://registry.npmjs.org'
- name: npm publish
run: npm publish