Skip to content

build(deps): update dependency typedoc to v0.26.2 #5092

build(deps): update dependency typedoc to v0.26.2

build(deps): update dependency typedoc to v0.26.2 #5092

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
name: Build
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout git repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 'lts/*'
cache: 'yarn'
- name: Install dependencies with Yarn
run: yarn install --immutable
- name: Build package
run: yarn run build
- name: Upload compiled package
uses: actions/upload-artifact@v4
with:
name: dist
path: dist
unit-test:
name: Unit tests
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout git repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 'lts/*'
cache: 'yarn'
- name: Install dependencies with Yarn
run: yarn install --immutable
- name: Run tests
run: yarn test:coverage
- name: Upload coverage
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
size:
name: Calculate bundle size
runs-on: ubuntu-latest
timeout-minutes: 5
env:
CI_JOB_NUMBER: 1
steps:
- name: Checkout git repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 'lts/*'
cache: 'yarn'
- name: Install dependencies with Yarn
run: yarn install --immutable
- name: Build
run: yarn run build
- name: Calculate bundle size
run: yarn run size
style:
name: Check style
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout git repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 'lts/*'
cache: 'yarn'
- name: Install dependencies with Yarn
run: yarn install --immutable
- name: Check style with Prettier
run: yarn run style
lint:
name: Lint
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout git repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 'lts/*'
cache: 'yarn'
- name: Install dependencies with Yarn
run: yarn install --immutable
- name: Lint
run: yarn run lint
validate-api:
name: Validate API
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout git repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 'lts/*'
cache: 'yarn'
- name: Install dependencies with Yarn
run: yarn install --immutable
- name: Build package
run: yarn run build
- name: Validate API
run: yarn run validate-api
publish:
name: Publish
runs-on: ubuntu-latest
timeout-minutes: 15
needs: [unit-test, style, size, validate-api, lint]
# Only run on main branch
if: ${{ github.ref == 'refs/heads/main' }}
steps:
- name: Checkout git repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 'lts/*'
cache: 'yarn'
- name: Install dependencies with Yarn
run: yarn install --immutable
- name: Build
run: yarn run build
- name: Bundle typings
run: yarn run validate-api
- name: Publish
run: yarn run deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}