Skip to content

fix: use normal approval if eoa is delegated (#177) #75

fix: use normal approval if eoa is delegated (#177)

fix: use normal approval if eoa is delegated (#177) #75

name: Build & Publish TypeDoc (master)
on:
push:
branches:
- master
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: true
jobs:
build:
if: >
startsWith(github.event.head_commit.message, 'chore: release') &&
(
github.event.head_commit.author.name == 'releaser-bot' ||
github.actor == 'releaser-bot' ||
github.actor == 'releaser-bot[bot]'
)
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: "18"
- name: Install dependencies
run: npm ci
- name: Build TypeDoc
run: npm run docs
- name: Upload TypeDoc artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./html_docs
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4