name: ajja tests

on:
  push:
  pull_request:
  schedule:
    # * is a special character in YAML so you have to quote this string
    - cron:  '0 3 * * *'

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - name: Checkout ajja
      uses: actions/checkout@v1
    - name: Setup node
      uses: actions/setup-node@v1
      with:
        node-version: '7'
    - name: Install dependencies
      run: |
        npm install
        npm install -g teeny-request@3.11.3
        npm install -g codecov
        grunt
    - name: Run phantomjs tests
      run: |
        grunt phantomjs
        codecov
      env:
        CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

name: ajja tests

on:
  push:
  pull_request:
  schedule:
    # * is a special character in YAML so you have to quote this string
    - cron:  '0 3 * * *'

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - name: Checkout ajja
      uses: actions/checkout@v1
    - name: Setup node
      uses: actions/setup-node@v1
      with:
        node-version: '7'
    - name: Install dependencies
      run: |
        npm install
        npm install -g codecov@3.6.3
        grunt
    - name: Run phantomjs tests
      run: |
        grunt phantomjs
        codecov
      env:
        CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

Fix codecov upload in git workflow
Fix codecov upload in git workflow
