Bump rollup from 2.77.0 to 4.8.0 #853
Workflow file for this run
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: Typedoc CI | |
on: [push] | |
jobs: | |
tests: | |
name: TypeDoc integration | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: False | |
matrix: | |
typedoc-version: | |
- latest | |
- '~0.22.0' | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Use Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 14.x | |
- name: Install dependencies | |
run: yarn --frozen-lockfile --ignore-optional | |
env: | |
CI: true | |
- name: Build | |
run: yarn build | |
env: | |
CI: true | |
- name: Link | |
run: yarn link | |
- name: TypeDoc integration test | |
run: | | |
cd ~ && mkdir -p example/src && cd example | |
yarn init -y | |
yarn add -D typescript typedoc@${{ matrix.typedoc-version }} | |
echo '{"compilerOptions": {"target": "es5","module": "commonjs","lib": ["es2015"],"strict": true,"esModuleInterop": true,"forceConsistentCasingInFileNames": true}}' >> tsconfig.json | |
echo 'export class HelloWorld {}' >> src/hello-world.ts | |
yarn link typedoc-plugin-mermaid | |
yarn run typedoc --plugin typedoc-plugin-mermaid \ | |
--out docs \ | |
src/hello-world.ts |