Skip to content

Commit c777cc3

Browse files
committed
feat: api
1 parent 599f364 commit c777cc3

File tree

17 files changed

+3343
-86
lines changed

17 files changed

+3343
-86
lines changed

.eslintrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://json.schemastore.org/eslintrc.json",
33
"env": {
4-
"browser": false,
4+
"browser": true,
55
"es2021": true,
66
"node": true
77
},

.github/dependabot.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,17 @@ updates:
77
assignees:
88
- "GalvinPython"
99
target-branch: "dev"
10+
11+
- package-ecosystem: "bun"
12+
directory: "/web"
13+
schedule:
14+
interval: "weekly"
15+
assignees:
16+
- "GalvinPython"
17+
target-branch: "dev"
18+
labels: ["dependencies", "javascript", "component: web"]
19+
20+
- package-ecosystem: "cargo"
21+
directory: "/api"
22+
schedule:
23+
interval: "weekly"

.github/workflows/site_build.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Site Build
2+
3+
on:
4+
push:
5+
branches:
6+
- "*"
7+
paths:
8+
- "./web/**/*.js"
9+
- "./web/**/*.jsx"
10+
- "./web/**/*.ts"
11+
- "./web/**/*.tsx"
12+
- "./web/**/*.mjs"
13+
- "./web/**/*.css"
14+
- "./web/**/*.cjs"
15+
- "./web/**/*.astro"
16+
pull_request:
17+
types: [opened, reopened, synchronize]
18+
paths:
19+
- "./web/**/*.js"
20+
- "./web/**/*.jsx"
21+
- "./web/**/*.ts"
22+
- "./web/**/*.tsx"
23+
- "./web/**/*.mjs"
24+
- "./web/**/*.css"
25+
- "./web/**/*.cjs"
26+
- "./web/**/*.astro"
27+
28+
jobs:
29+
lint:
30+
name: Build Site
31+
runs-on: ubuntu-latest
32+
33+
steps:
34+
- name: Checkout code
35+
uses: actions/checkout@v2
36+
37+
- name: Setup Bun
38+
uses: oven-sh/setup-bun@v2
39+
40+
- name: Install dependencies
41+
run: bun install
42+
43+
- name: Run ESLint
44+
run: bun run build

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
node_modules/
22
.env
3+
.astro/
4+
dist/
5+
target/
36

47
# Database stuff
58
/backups

0 commit comments

Comments
 (0)