From 9160333a16b764c551cc816a34bb099197b3365a Mon Sep 17 00:00:00 2001 From: Doan Dinh Date: Mon, 13 Nov 2023 11:23:22 +0700 Subject: [PATCH] [#242] Install danger js --- .github/workflows/test.yml | 6 ++++++ bricks/template/__brick__/.github/workflows/test.yml | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e983bb7..7cad2df 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -38,6 +38,12 @@ jobs: - name: Statically analyze the Dart code for any errors run: flutter analyze . + - name: Install Danger JS + run: npm install -g danger + + - name: Activate Danger Dart + run: pub global activate danger_dart + - name: Run danger ci run: danger_dart ci env: diff --git a/bricks/template/__brick__/.github/workflows/test.yml b/bricks/template/__brick__/.github/workflows/test.yml index 6934dce..6b99623 100644 --- a/bricks/template/__brick__/.github/workflows/test.yml +++ b/bricks/template/__brick__/.github/workflows/test.yml @@ -36,6 +36,12 @@ jobs: - name: Statically analyze the Dart code for any errors run: flutter analyze . + - name: Install Danger JS + run: npm install -g danger + + - name: Activate Danger Dart + run: pub global activate danger_dart + - name: Run danger ci run: danger_dart ci env: