Skip to content
This repository has been archived by the owner on May 22, 2024. It is now read-only.

fix: call of tryGetStackInfo() in DependsOn() #12

fix: call of tryGetStackInfo() in DependsOn()

fix: call of tryGetStackInfo() in DependsOn() #12

Workflow file for this run

name: Publish
on:
push:
branches:
- main
jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
registry-url: https://registry.npmjs.org/
- name: Install NPM 9
run: npm install -g npm@9
- name: Install dependencies
run: npm install
- name: Lint code
run: npm run lint
- name: Build library
run: npm run build
- name: Generate documentation
run: npm run docs:generate
- name: Publish to NPM
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
- name: Publish to GitHub Pages
uses: tsunematsu21/actions-publish-gh-pages@v1.0.2
with:
dir: docs
branch: gh-pages
token: ${{ secrets.GH_PAT }}