
name: jovo-framework workflow

on: [push, pull_request]

jobs:
  build:

    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        node-version: [10.x, 12.x]
        os: [ubuntu-latest, windows-latest, macos-latest]
    steps:

      - uses: actions/checkout@v2
      - name: Use Node.js ${{ matrix.node-version }}
        uses: actions/setup-node@v1
        with:
          node-version: ${{ matrix.node-version }}
      - run: npm install
      - run: npm run prettier
      - run: npm run eslint
      - run: npm run build
      - run: npm run test


name: jovo-framework workflow

on: [push, pull_request]

jobs:
  build:

    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        node-version: [12.x, 14.x]
        os: [ubuntu-latest, windows-latest, macos-latest]
    steps:

      - uses: actions/checkout@v2
      - name: Use Node.js ${{ matrix.node-version }}
        uses: actions/setup-node@v1
        with:
          node-version: ${{ matrix.node-version }}
      - run: npm install
      - run: npm run prettier
      - run: npm run eslint
      - run: npm run build
      - run: npm run test

Update node-versions used for the build-workflow
:construction_worker: Update node-versions used for the build-workflow

- v10 was removed due to being deprecated
- v14 was added due to being in long-term support
