Skip to content

Merge pull request #29 from jeff-tbd/versions/v0.4.1 #3

Merge pull request #29 from jeff-tbd/versions/v0.4.1

Merge pull request #29 from jeff-tbd/versions/v0.4.1 #3

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 --access public
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