Skip to content

feat: add disconnect ticker method with no reconnection (#102) #2

feat: add disconnect ticker method with no reconnection (#102)

feat: add disconnect ticker method with no reconnection (#102) #2

Workflow file for this run

name: Release, npm publish and deploy gh-pages
on:
push:
tags:
- "v*"
jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm run build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
publish-doc:
runs-on: ubuntu-latest
permissions:
contents: read
pages: write
id-token: write
steps:
- uses: actions/checkout@v3
with:
submodules: true
- uses: actions/setup-node@v3
with:
node-version: 20
- name: Install Dependencies
run: |
npm install
npm install typedoc
- name: Building documentation for GitHub Pages
run: npx typedoc --out ./docs
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifacts
uses: actions/upload-pages-artifact@v3
with:
path: docs/
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4