Skip to content

Handle the invalid date the same way moment.js does, with and without the utc plugin #437

Handle the invalid date the same way moment.js does, with and without the utc plugin

Handle the invalid date the same way moment.js does, with and without the utc plugin #437

Workflow file for this run

name: Lint & Unit Test
on:
push:
branches: [ master, dev ]
pull_request:
branches: [dev]
jobs:
check:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ 12, 14, 16, 18 ]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm install -g codecov && npm install
- name: Run Lint
run: npm run lint
- name: Run tests
run: npm test && codecov