--- name: coverage on: push: branches: - master jobs: build: runs-on: ubuntu-latest name: coverage strategy: matrix: node-version: [16.x] steps: - name: Checkout Repository uses: actions/checkout@v4 with: fetch-depth: 1 - name: Setup Node ${{ matrix.node-version }} uses: actions/setup-node@v4 with: always-auth: false node-version: ${{ matrix.node-version }} - name: Run npm install run: npm install - name: Run Tests run: npm run test:coverage - name: Generate LCOV run: npm run coveralls - name: Update Coveralls uses: coverallsapp/github-action@master with: github-token: ${{ secrets.GITHUB_TOKEN }} if: success()