Skip to content

Commit

Permalink
Merge pull request #3 from OriginProtocol/feat/dangerjs
Browse files Browse the repository at this point in the history
[TAS-62] feat: add dangerjs
  • Loading branch information
rafaelugolini authored Jul 31, 2023
2 parents 7e2d18d + c82a650 commit 528a7cb
Show file tree
Hide file tree
Showing 4 changed files with 1,799 additions and 10 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/dangerjs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Danger CI

on: [pull_request]

jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Use Node.js 18x
uses: actions/setup-node@v1
with:
node-version: 18.x
- name: install yarn
run: npm install -g yarn
- run: yarn install --frozen-lockfile
- run: yarn danger ci
env:
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DANGER_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NOTION_API_TOKEN: ${{ secrets.NOTION_API_TOKEN }}
6 changes: 6 additions & 0 deletions dangerfile.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import dangerGithubNotion from 'danger-plugin-danger-github-notion';

dangerGithubNotion({
dbTasksId: 'e53909e5-e202-4c3f-9b45-0c63b8f6dd8e',
taskPrefix: 'TAS',
});
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@
"@vitest/coverage-c8": "~0.32.0",
"@vitest/ui": "~0.32.0",
"babel-plugin-formatjs": "^10.5.3",
"danger": "^11.2.7",
"danger-plugin-danger-github-notion": "0.0.1",
"eslint": "~8.15.0",
"eslint-config-prettier": "8.1.0",
"eslint-plugin-cypress": "^2.10.3",
Expand Down
Loading

0 comments on commit 528a7cb

Please sign in to comment.