Merge branch 'master' into dependabot/npm_and_yarn/browserify-sign-4.2.2 #5337
Workflow file for this run
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 |