Skip to content

1.1.7 (#53)

1.1.7 (#53) #14

Workflow file for this run

name: Release
on:
push:
tags:
- '*'
jobs:
deploy_npm_package_and_typedoc:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 18.17.1
- name: Install Dependencies
run: npm ci
- name: Publish to NPM
run: npm publish
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Generate Typedoc
run: npm run build:typedoc
- name: Deploy Typedoc to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs