fix: simplify createTestDir options and fix defaults when passing object without all the options #2062
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: Test docs | |
on: [push, pull_request] | |
jobs: | |
tests: | |
name: node ${{ matrix.node-version }} / ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
node-version: [18] | |
os: [ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: yarn | |
- run: npm i -g yarn@1 | |
- run: yarn config set network-timeout 300000 | |
- run: yarn --frozen-lockfile | |
- run: yarn lint | |
- run: yarn build | |
- run: yarn test:docs |