Skip to content

Commit eeacb86

Browse files
Merge branch 'main' into github-integration-guide
2 parents e9a42af + 42a66a2 commit eeacb86

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+1383
-1072
lines changed

.editorconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
indent_size = 2
7+
indent_style = tab
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
11+
[{*.yaml,*.yml}]
12+
indent_style = space

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.ts @coderabbitai/typescript-reviewers
File renamed without changes.

.github/workflows/fix.yaml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Fix
2+
3+
on:
4+
pull_request:
5+
branches: main
6+
7+
jobs:
8+
fix:
9+
runs-on: ubuntu-latest
10+
11+
permissions:
12+
contents: write
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
with:
17+
ref: ${{ github.head_ref }}
18+
- uses: pnpm/action-setup@v4
19+
with:
20+
version: latest
21+
- uses: actions/setup-node@v4
22+
with:
23+
node-version: latest
24+
cache: pnpm
25+
- run: pnpm install
26+
- run: pnpm run lint:fix
27+
28+
- id: diff
29+
run: |
30+
if [[ -n $(git status --porcelain) ]]; then
31+
echo 'changes=true' >>"$GITHUB_OUTPUT"
32+
fi
33+
34+
- if: steps.diff.outputs.changes == 'true'
35+
name: Commit and push
36+
run: |
37+
git config user.name 'github-actions[bot]'
38+
git config user.email '41898282+github-actions[bot]@users.noreply.github.com'
39+
40+
git commit --all --message '🎨 pnpm run lint:fix' --message '[dependabot skip]'
41+
git push

.github/workflows/node.js.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Node.js CI
2+
3+
on:
4+
push:
5+
branches: main
6+
pull_request:
7+
branches: main
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v4
15+
- uses: pnpm/action-setup@v4
16+
with:
17+
version: latest
18+
- uses: actions/setup-node@v4
19+
with:
20+
node-version: latest
21+
cache: pnpm
22+
- run: pnpm install --frozen-lockfile --strict-peer-dependencies
23+
- run: pnpm run build
24+
- run: pnpm run lint

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,6 @@ yarn-debug.log*
2222
yarn-error.log*
2323
package-lock.json
2424
yarn.lock
25+
26+
# pnpm
27+
.pnpm-store

.markdownlint-cli2.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
gitignore: true

.markdownlint.json

Lines changed: 0 additions & 9 deletions
This file was deleted.

.markdownlint.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
default: true
2+
first-line-heading: false
3+
line-length: false
4+
link-fragments: false
5+
no-duplicate-heading:
6+
siblings_only: true
7+
no-inline-html: false
8+
single-title: false

.markdownlintrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)