Merge remote-tracking branch 'origin/master' into feat/dashboard-plug… #5221
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: 16.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 |