Skip to content

pipeline fix

pipeline fix #9

Workflow file for this run

name: Coveralls
on:
push:
branches:
- main
workflow_dispatch:
jobs:
coveralls:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 18
cache: yarn
- name: Install dependencies
run: yarn install
- name: Run tests with coverage
run: yarn run test
- name: Upload coverage to Coveralls
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.COVERALLS_REPO_TOKEN }}
path-to-lcov: ./coverage/lcov.info