Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into feat/swap
Browse files Browse the repository at this point in the history
  • Loading branch information
dcodes05 committed Aug 23, 2023
2 parents 3b14e01 + 5e3acc3 commit 7b7f8eb
Show file tree
Hide file tree
Showing 4 changed files with 1,778 additions and 9 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/dangerjs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Danger CI

on:
pull_request:
types: [opened, reopened, synchronize, edited]

jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8
- name: Use Node.js 18x
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: 'pnpm'
- run: pnpm install --frozen-lockfile
- run: pnpm danger ci
env:
DANGER_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_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-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 @@ -54,6 +54,8 @@
"@vitest/coverage-c8": "~0.33.0",
"@vitest/ui": "~0.34.1",
"babel-plugin-formatjs": "^10.5.3",
"danger": "^11.2.7",
"danger-plugin-github-notion": "^0.0.3",
"eslint": "~8.46.0",
"eslint-config-prettier": "9.0.0",
"eslint-plugin-cypress": "^2.13.3",
Expand Down
Loading

0 comments on commit 7b7f8eb

Please sign in to comment.