From 2d87cda67eee03a242d316193e7f86f091115be2 Mon Sep 17 00:00:00 2001 From: Brendan Coll Date: Fri, 24 Sep 2021 11:40:39 +0100 Subject: [PATCH] Check docs and overrides with GitHub actions --- .github/workflows/lint.yml | 4 ++-- .github/workflows/overrides.yml | 18 ++++++++++++++++++ docs/kv.md | 2 ++ 3 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/overrides.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 1d0a2044..a0c1940f 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -4,12 +4,12 @@ on: [push, pull_request] jobs: build: - runs-on: ubuntu-18.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Use Node.js uses: actions/setup-node@v1 with: - node-version: '12.x' + node-version: '16' - run: npm install -g markdownlint-cli@0.23.2 - run: markdownlint '**/*.md' --ignore node_modules diff --git a/.github/workflows/overrides.yml b/.github/workflows/overrides.yml new file mode 100644 index 00000000..b4ce2bff --- /dev/null +++ b/.github/workflows/overrides.yml @@ -0,0 +1,18 @@ +name: Check Docs & Overrides + +on: [push, pull_request] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Use Node.js + uses: actions/setup-node@v1 + with: + node-version: '16' + - run: npm install + - name: Check Docs + run: npm run export:docs + - name: Check Overrides + run: npm run export:overrides diff --git a/docs/kv.md b/docs/kv.md index d28cf619..f6518848 100644 --- a/docs/kv.md +++ b/docs/kv.md @@ -1,3 +1,5 @@ +# KV + ## `KVNamespace` Workers KV is a global, low-latency, key-value data store. It supports exceptionally high read volumes with low-latency,