name: Continuous Integration

on:
  pull_request:
  push:
    branches: [master]

jobs:
  test:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        node_version: [14, 16]
    name: Node ${{ matrix.node_version }}
    steps:
      - uses: actions/checkout@v2
      - uses: actions/setup-node@v1
        name: Install node v${{ matrix.node_version }}
        with:
          node-version: ${{ matrix.node_version }}
      - name: Install libraries
        run: yarn install --color
      - name: Create mocks
        run: echo '{}' > bridge.json
      - name: Run tests
        run: yarn -s test

name: Continuous Integration

on:
  pull_request:
  push:
    branches: [master]

jobs:
  test:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        node_version: [14, 16]
    name: Node ${{ matrix.node_version }}
    steps:
      - uses: actions/checkout@v2
      - uses: actions/setup-node@v2
        name: Install node v${{ matrix.node_version }}
        with:
          node-version: ${{ matrix.node_version }}
      - name: Install libraries
        run: yarn install --color
      - name: Create mocks
        run: echo '{}' > bridge.json
      - name: Run tests
        run: yarn -s test

Update actions/setup-node action to v2
Update actions/setup-node action to v2
