Skip to content

fix: node environment detection #17

fix: node environment detection

fix: node environment detection #17

Workflow file for this run

name: coverage
on: [push]
env:
CI: true
jobs:
run:
name: node ${{ matrix.node }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
node: [12]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- run: node --version
- run: npm --version
- run: npm i
- run: npm test -- --coverage
- uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}