message: (feat): CLI rust tests GH action
diff: @@ -92,6 +92,42 @@ jobs:
  run: yarn test:rust
  working-directory: ./packages/js/client
  + Test-Cli:
  + runs-on: ubuntu-latest
  + steps:
  + - name: Checkout repository
  + uses: actions/checkout@v2
  +
  + - name: Read .nvmrc
  + run: echo ::set-output name=NVMRC::$(cat .nvmrc)
  + id: nvm
  +
  + - name: Setup Node.js
  + uses: actions/setup-node@master
  + with:
  + node-version: '${{ steps.nvm.outputs.NVMRC }}'
  +
  + - name: Get yarn cache directory path
  + id: yarn-cache-dir-path
  + run: echo "::set-output name=dir::$(yarn cache dir)"
  +
  + - uses: actions/cache@v2
  + with:
  + path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
  + key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
  + restore-keys: |
  + ${{ runner.os }}-yarn-
  +
  + - name: Install dependencies
  + run: yarn install --nonInteractive --frozen-lockfile --prefer-offline
  +
  + - name: Build
  + run: yarn build
  +
  + - name: Test
  + run: yarn test:rust
  + working-directory: ./packages/cli
  +
  # NOTE: Mac & Windows CI is not currently possible, since GitHub Actions does not
  # use "Docker Enterprise". Docker Enterprise is required when running linux based
  # containers, which is what we run within our toolchain for infra and build-images.
  