name: Update client
on:
  workflow_dispatch:
jobs:
  ci:
    runs-on: ubuntu-latest
    steps:
    - name: Checkout
      uses: actions/checkout@v2
    - name: Cache the node_modules dir
      uses: actions/cache@v2
      with:
        path: node_modules
        key: ${{ runner.os }}-node_modules-${{ hashFiles('yarn.lock') }}
    - name: Install
      run: yarn install --frozen-lockfile
    - name: Update client
      run: tools/update-client

Add a manual/API-triggered workflow to update the Hypothesis client
Add a manual/API-triggered workflow to update the Hypothesis client

The plan is for this workflow to be triggered at the end of the
Hypothesis client's release workflow.
