doc: GM_getValues, GM_setValues, GM_deleteValues #30
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: doc | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
paths: | |
- package.json | |
- index.d.ts | |
- README.md | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
persist-credentials: false | |
fetch-depth: 100 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '20' | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- name: Build docs | |
run: | | |
pnpm i | |
pnpm build:docs | |
pnpm build:docs --json docs/types.json | |
- name: Deploy to GitHub Pages | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: docs | |
single-commit: true |