Skip to content

Use expect.anything() in tests to also tests all arguments received i… #143

Use expect.anything() in tests to also tests all arguments received i…

Use expect.anything() in tests to also tests all arguments received i… #143

Workflow file for this run

name: Node CI
on: [push]
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x, 19.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Install packages
run: yarn install
- name: Build packages
run: yarn build
- name: Run tests
run: yarn test
lint:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Install packages
run: yarn install
- name: Check linting
run: yarn lint:check