Skip to content

fix: handle both Set and array for currentUser.authorities when check… #4791

fix: handle both Set and array for currentUser.authorities when check…

fix: handle both Set and array for currentUser.authorities when check… #4791

Workflow file for this run

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