This repository has been archived by the owner on Oct 23, 2023. It is now read-only.
Bump tough-cookie and @cypress/request #2499
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Unit tests and coverage | |
on: [push] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: ["14"] | |
name: Jest unit tests and coveralls push | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup node ${{ matrix.node }} | |
uses: actions/[email protected] | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install dependencies and coveralls | |
run: | | |
npm ci | |
npm install coveralls | |
- name: Run unit tests and save coverage | |
run: CI=true npm test -- --coverage | |
- name: Coveralls | |
uses: coverallsapp/github-action@master | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
path-to-lcov: ./jest-coverage/lcov.info |