Skip to content

Commit b0d57b8

Browse files
author
Igor Oleinikov
committed
FIx
1 parent 06b092e commit b0d57b8

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/danger.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ jobs:
1212
- name: Danger
1313
uses: danger/[email protected]
1414
with:
15-
args: '--use-github-checks --dangerfile ./.github/workflows/js/dangerfile.ts'
15+
args: '--dangerfile ./.github/workflows/js/dangerfile.ts'
1616
env:
1717
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/js/dangerfile.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
import { danger, fail } from 'danger';
2-
import yarn from 'danger-plugin-yarn'
2+
// import yarn from 'danger-plugin-yarn'
33
// import jest from "danger-plugin-jest"
44

55
export default async () => {
66
if (danger.github.pr) {
77
console.log('PR exists', danger.github.pr.html_url);
8+
fail('This dangerfile is not ready yet.');
89
} else {
910
fail('PR does not exist');
1011
}
1112

12-
await yarn();
13+
// await yarn();
1314
}

0 commit comments

Comments
 (0)