UNPKG

cucumber-json-merge

Version:

NodeJS CLI for merging Cucumber JSON test results

68 lines (55 loc) 1.37 kB
name: CI-CD on: push: branches: - "*" tags-ignore: - "*" schedule: - cron: "0 0 1 * *" jobs: test: name: Node ${{ matrix.node }} on ${{ matrix.os }} runs-on: ${{ matrix.os }} timeout-minutes: 10 strategy: fail-fast: true matrix: os: - ubuntu-latest - macos-latest - windows-latest node: - 12 - 14 steps: - name: Checkout source uses: actions/checkout@v2 - name: Install Node ${{ matrix.node }} uses: actions/setup-node@v1 with: node-version: ${{ matrix.node }} - name: Install dependencies run: npm ci - name: Run linters run: npm run lint - name: Build the code run: npm build - name: Run tests run: npm test - name: Send code coverage results to Coveralls uses: coverallsapp/github-action@v1.1.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} parallel: true coverage: name: Code Coverage runs-on: ubuntu-latest timeout-minutes: 10 needs: test steps: - name: Let Coveralls know that all tests have finished uses: coverallsapp/github-action@v1.1.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} parallel-finished: true