Setup action on github for test


#1

hi
i try to setup without success action in github. any idea ?
some issue here

https://github.com/spham/tddJovoJest/actions

npm install -g jovo-cli
name: Node CI

on: [push]

jobs:
  build:

    runs-on: ubuntu-latest

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

    steps:
    - uses: actions/checkout@v1
    - name: Use Node.js ${{ matrix.node-version }}
      uses: actions/setup-node@v1
      with:
        node-version: ${{ matrix.node-version }}
    - name: npm install, build, and test
      run: |
        npm install -g jovo-cli
        npm ci
        jovo run
        npm test
      env:
        CI: true


#3

Are you using Vue.js? The error doesn’t seem to be Jovo related


#4

i have change screenshot, but repository is exact

other issue detected by github


#6

i solve issue with this.

name: Alexa and Google with Jovo TDD

on: [push]

jobs:
  build:
    runs-on: ubuntu-latest

    strategy:
      matrix:
        node-version: [12.x]

    steps:
      - uses: actions/checkout@v1
      - name: Use Node.js ${{ matrix.node-version }}
        uses: actions/setup-node@v1
        with:
          node-version: ${{ matrix.node-version }}
      - name: npm install, build, and test
        run: |
          npm install -g jovo-cli   #<--------
          npm ci 
          jovo run & #<--------
          npm test #<--------
        env:
          CI: true