diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 09fd229f..7eb303d3 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -1,14 +1,14 @@ name: Testing the e2e test suites -on: +on: push: - branches: - - master - - develop + branches: + - master + - develop pull_request: - branches: - - master - - develop + branches: + - master + - develop jobs: build: @@ -18,14 +18,14 @@ jobs: node-version: [10.x, 12.x, 13.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: bootstrap - run: npm run bootstrap - - name: Build - run: npm run build - - name: end to end - run: npm run test:e2e + - uses: actions/checkout@v1 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - name: bootstrap + run: npm run bootstrap + - name: Build + run: npm run build + - name: end to end + run: npm run test:e2e && npm run test:jest-e2e diff --git a/.github/workflows/unit.yml b/.github/workflows/unit.yml index 45c001f7..169fa6f4 100644 --- a/.github/workflows/unit.yml +++ b/.github/workflows/unit.yml @@ -1,14 +1,14 @@ name: Unit tests Suite -on: +on: push: - branches: - - master - - develop + branches: + - master + - develop pull_request: - branches: - - master - - develop + branches: + - master + - develop jobs: build: @@ -18,14 +18,14 @@ jobs: node-version: [10.x, 12.x, 13.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: bootstrap - run: npm run bootstrap - - name: Build - run: npm run build - - name: Unit tests - run: npm run test + - uses: actions/checkout@v1 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - name: bootstrap + run: npm run bootstrap + - name: Build + run: npm run build + - name: Unit tests + run: npm run test && npm run test:jest-unit