name: fluentReports Renderer CI

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

jobs:
  build:

    runs-on: ubuntu-latest

    strategy:
      matrix:
        node-version: [10.x,12.x,14.x]

    steps:
      - name: Checkout Startup
        uses: actions/checkout@v2

      - name: Get Poppler
        run: sudo apt-get install poppler-utils

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

      - name: Upload Results
        uses: actions/upload-artifact@v2
        if: failure()
        with:
          path: /home/runner/work/fluentreports/fluentreports/examples/Check/*.png
name: fluentReports Renderer CI

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

jobs:
  build:

    runs-on: ubuntu-latest

    strategy:
      matrix:
        node-version: [12.x,14.x,15.x]

    steps:
      - name: Checkout Startup
        uses: actions/checkout@v2

      - name: Update APT files
        run: sudo apt update

      - name: Upgrade OS files
        run: sudo apt upgrade -y

      - name: Get Poppler
        run: sudo apt install poppler-utils

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

      - name: Upload Results
        uses: actions/upload-artifact@v2
        if: failure()
        with:
          path: /home/runner/work/fluentreports/fluentreports/examples/Check/*.png
Update Node matrix, and do OS updates as part of run
Update Node matrix, and do OS updates as part of run
