Skip to content

Add CHANGELOG.md

Add CHANGELOG.md #1

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*'
permissions:
contents: write
id-token: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
registry-url: 'https://registry.npmjs.org'
- name: Verify CLI
run: |
node bin/nudocs.js --version
node bin/nudocs.js --help
- name: Publish to npm
run: npm publish --access public --provenance
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Create GitHub Release
uses: softprops/action-gh-release@v1
with:
generate_release_notes: true
body: |
## Installation
```bash
npm install -g @nutrient-sdk/nudocs-cli
```
Or use directly:
```bash
npx @nutrient-sdk/nudocs-cli --help
```
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}