Skip to content

Excludes docs from npm package except README #1

Excludes docs from npm package except README

Excludes docs from npm package except README #1

Workflow file for this run

name: Publish to npm
on:
push:
branches:
- main
workflow_dispatch:
permissions:
id-token: write # Required for OIDC
contents: read
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '25'
registry-url: 'https://registry.npmjs.org'
scope: \@${{ github.repository_owner }}
- name: Update npm
run: npm install -g npm@latest
- run: npm ci
- run: npm run build
- run: npm publish --access public