Skip to content

Add index.ts and update types in types.d.ts #4

Add index.ts and update types in types.d.ts

Add index.ts and update types in types.d.ts #4

Workflow file for this run

name: Publish to npm
on:
push:
branches:
- main
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18'
registry-url: 'https://registry.npmjs.org'
# Install dependencies and build
- run: npm install
- run: npm run build
# Automated version check and publish
- uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}