Skip to content

fix: transformDates now aware that data property can be undefined #7

fix: transformDates now aware that data property can be undefined

fix: transformDates now aware that data property can be undefined #7

Workflow file for this run

name: Node.js CI with Codecov
on:
pull_request:
branches: [ "main" ]
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Node.js and Yarn
uses: actions/setup-node@v4
with:
node-version: 18
registry-url: 'https://registry.npmjs.org'
cache: 'yarn'
- name: Install dependencies
run: yarn install
- name: Run tests and coverage
run: yarn test:coverage
- name: Run build
run: yarn build
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
- name: Upload coverage to CodeClimate
uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: ${{ secrets.CODE_CLIMATE_ID }}