Skip to content

Update actions/upload-artifact action to v4 (merge commit) #2294

Update actions/upload-artifact action to v4 (merge commit)

Update actions/upload-artifact action to v4 (merge commit) #2294

Workflow file for this run

name: Unit tests and coverage
on: [push]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node: ["16"]
name: Jest unit tests and coveralls push
steps:
- uses: actions/checkout@v4
- name: Setup node ${{ matrix.node }}
uses: actions/setup-node@v4
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: ./coverage/lcov.info