Skip to content

Commit 8358a27

Browse files
chore: add .degitignore, dependabot.yml, and CI workflow
1 parent 73d6c35 commit 8358a27

File tree

4 files changed

+90
-0
lines changed

4 files changed

+90
-0
lines changed

.degitignore

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# GitHub Actions and workflows
2+
.github/
3+
4+
# Development files
5+
.vscode/
6+
.idea/
7+
8+
# OS generated files
9+
.DS_Store
10+
.DS_Store?
11+
._*
12+
.Spotlight-V100
13+
.Trashes
14+
ehthumbs.db
15+
Thumbs.db

.github/dependabot.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "npm"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
day: "sunday"
8+
open-pull-requests-limit: 10
9+
reviewers:
10+
- "dean-journeyapps"
11+
- "joshua-journey-apps"
12+
- "michaelbarnes"
13+
ignore:
14+
# Ignore major version updates for critical deps
15+
- dependency-name: "react"
16+
update-types: ["version-update:semver-major"]
17+
- dependency-name: "react-dom"
18+
update-types: ["version-update:semver-major"]
19+
# Allow security updates for all dependencies
20+
allow:
21+
- dependency-type: "all"
22+
groups:
23+
react-ecosystem:
24+
patterns:
25+
- "react*"
26+
- "@types/react*"
27+
build-tools:
28+
patterns:
29+
- "webpack*"
30+
- "babel*"
31+
- "eslint*"
32+
- "vite*"
33+
powersync:
34+
patterns:
35+
- "@powersync/*"
36+
- "powersync*"
37+
testing:
38+
patterns:
39+
- "jest*"
40+
- "@testing-library/*"
41+
- "vitest*"

.github/pull_request_template.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
## Description
2+
3+
## Work Done
4+
5+
## How to Test

.github/workflows/ci.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: CI
2+
on:
3+
push:
4+
branches: [main]
5+
pull_request:
6+
branches: [main]
7+
8+
jobs:
9+
test:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: actions/setup-node@v4
14+
with:
15+
node-version: '18'
16+
cache: 'pnpm'
17+
- uses: pnpm/action-setup@v2
18+
with:
19+
version: 8
20+
- name: Install dependencies
21+
run: pnpm install --frozen-lockfile
22+
- name: Run linting
23+
run: pnpm run lint
24+
- name: Run type checking
25+
run: pnpm run type-check
26+
- name: Run tests
27+
run: pnpm test
28+
- name: Run build
29+
run: pnpm run build

0 commit comments

Comments
 (0)