Skip to content

Update docs

Update docs #8

Workflow file for this run

name: Publish
on:
push:
branches: [main]
jobs:
publish_NPM:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
registry-url: "https://registry.npmjs.org"
- name: Install dependencies
run: npm install
- name: Run build
run: npm run build
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PACKAGE_REGISTRY_TOKEN }}
publish_Github:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
registry-url: "https://npm.pkg.github.com"
- name: Install dependencies
run: npm install
- name: Run build
run: npm run build
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GH_PACKAGE_REGISTRY_TOKEN }}