Skip to content

chore: prepare release react 2.0.0-alpha.30 #86

chore: prepare release react 2.0.0-alpha.30

chore: prepare release react 2.0.0-alpha.30 #86

Workflow file for this run

name: "Create & publish documentation"
on:
pull_request:
branches: [main]
types:
- closed
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/[email protected]
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
cache: "pnpm"
- run: pnpm install --frozen-lockfile
- run: pnpm lint
docs:
if: github.event.pull_request.merged == true
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup pnpm for docs
uses: pnpm/[email protected]
- name: Use Node.js for docs
uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
cache: "pnpm"
- run: pnpm install --frozen-lockfile
- run: pnpm typedoc
- name: Deploy documentation
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: docs