Update dependency typedoc to ^0.26.9 #917
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: Tests | |
on: | |
push: | |
paths-ignore: | |
- 'docs/**' | |
- 'internal/website/**' | |
- '.vscode/**' | |
- '.husky/**' | |
pull_request: | |
paths-ignore: | |
- 'docs/**' | |
- 'internal/website/**' | |
- '.vscode/**' | |
- '.husky/**' | |
env: | |
CI: true | |
PNPM_CACHE_FOLDER: .pnpm-store | |
jobs: | |
build: | |
name: Install, Build and Test | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
node: [12, 14, 16] | |
os: [ubuntu-latest] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Setup node | |
uses: actions/setup-node@v2-beta | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Cache pnpm modules | |
uses: actions/cache@v2 | |
env: | |
cache-name: cache-pnpm-modules | |
with: | |
path: ~/.pnpm-store | |
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ matrix.node }}-${{ hashFiles('./pnpm-lock.yaml') }} | |
restore-keys: | | |
${{ runner.os }}-build-${{ env.cache-name }}-${{ matrix.node }}- | |
- run: npm install -g pnpm@latest | |
- name: Node version | |
run: node --version | |
- name: pnpm version | |
run: pnpm --version | |
- name: Install dependencies and build | |
run: pnpm install | |
- name: Global Jest | |
run: pnpm i -g jest | |
- name: Test everything | |
run: pnpm test:ci |