Skip to content

Update coverallsapp/github-action action to v2 #69

Update coverallsapp/github-action action to v2

Update coverallsapp/github-action action to v2 #69

Workflow file for this run

name: Publish Coveralls
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 10.x
uses: actions/setup-node@v2
with:
node-version: 10.x
- name: Check and create coverage file
run: |
npm install
npm run test:coverage
- name: Coveralls
uses: coverallsapp/github-action@v2.2.2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}