fix: avoid undefined in totals DHIS2-14511 v39 (#1587) #4804
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'dhis2: test (node)' | |
on: push | |
jobs: | |
unit: | |
runs-on: ubuntu-latest | |
if: "!contains(github.event.head_commit.message, '[skip ci]')" | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: 12.x | |
- name: Install | |
run: yarn install --frozen-lockfile | |
- name: Lint | |
run: | | |
yarn d2-app-scripts i18n generate | |
yarn d2-style check | |
- name: Test | |
run: yarn test | |
env: | |
CI: true |