Skip to content

feat: support toHaveReceivedAnyCommand matcher #240

feat: support toHaveReceivedAnyCommand matcher

feat: support toHaveReceivedAnyCommand matcher #240

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test_and_build:
name: Test and build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14'
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
- uses: actions/cache@v3
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- run: yarn install --immutable
- run: yarn run build
- run: yarn run lint
- run: yarn run test
- run: yarn run test-types
- name: bump version
run: yarn run release --skip.commit --skip.tag
- name: run e2e tests
run: |
yarn run verdaccio &
yarn run local-publish
yarn run test-e2e