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

docs: update CHANGELOG #26

docs: update CHANGELOG

docs: update CHANGELOG #26

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 dependencies
run: npm install
- name: Lint code
run: npm run lint
# - name: Run tests
# run: npm run test
- 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 }}