Skip to content

v0.2.7 - Windows compatibility fix #18

v0.2.7 - Windows compatibility fix

v0.2.7 - Windows compatibility fix #18

Workflow file for this run

name: Publish to npm
on:
release:
types: [published]
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write # Required for npm provenance
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
registry-url: 'https://registry.npmjs.org'
scope: '@bitovi'
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm test
- name: Publish to npm
run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}