Skip to content

Merge pull request #179 from otiai10/dependabot/npm_and_yarn/main/typ… #335

Merge pull request #179 from otiai10/dependabot/npm_and_yarn/main/typ…

Merge pull request #179 from otiai10/dependabot/npm_and_yarn/main/typ… #335

Workflow file for this run

name: Node.js CI
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main, develop ]
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
node-version: [10.x, 12.x, 14.x]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build
- run: npm run validate
- run: npm run lint
- run: npm test -- --coverage
- uses: codecov/codecov-action@v1
with:
file: ./coverage/coverage-final.json