Skip to content

update README

update README #17

Workflow file for this run

on: [push]
name: Build and publish to NPM
jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16
registry-url: https://registry.npmjs.org/
- name: install dependencies
run: npm install --include-dev
- name: create builds
run: npm run build
- name: Publish to NPM
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
run: npm publish || true
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}