Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: CI

on:
pull_request:
push:
branches: [master]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: yarn

- name: Install dependencies
run: yarn install --frozen-lockfile

# docusaurus.config.ts sets onBrokenLinks: "throw", so this fails the
# job on any broken internal link. Without it that failure only shows
# up in Netlify after the merge has already landed.
#
# CONTEXT is unset here, so the build omits the analytics tag. The
# Algolia reindex is not run: it is a no-op outside a production
# deploy and CI has no crawler credentials.
- name: Build
run: yarn build
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@ build

# Local Netlify folder
.netlify

# macOS
.DS_Store
31 changes: 0 additions & 31 deletions config/api-sidebars.js

This file was deleted.

219 changes: 0 additions & 219 deletions config/redirects.config.js

This file was deleted.

2 changes: 1 addition & 1 deletion docs/api-reference/unit-reference.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_position: 5
sidebar_position: 7
title: UnitReference
description: Access mocked dependencies in your tests
---
Expand Down
Loading
Loading