Skip to content

Commit 029059e

Browse files
authored
Merge pull request #111 from GalvinPython/feat/site
2 parents a14ca30 + 05bb4ca commit 029059e

Some content is hidden

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

57 files changed

+6126
-200
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: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# idk why im bothering with this, not like im going to use cloudflare for it
2+
3+
name: Site Build
4+
5+
on:
6+
push:
7+
branches:
8+
- "*"
9+
paths:
10+
- "./web/**/*.js"
11+
- "./web/**/*.jsx"
12+
- "./web/**/*.ts"
13+
- "./web/**/*.tsx"
14+
- "./web/**/*.mjs"
15+
- "./web/**/*.css"
16+
- "./web/**/*.cjs"
17+
- "./web/**/*.astro"
18+
pull_request:
19+
types: [opened, reopened, synchronize]
20+
paths:
21+
- "./web/**/*.js"
22+
- "./web/**/*.jsx"
23+
- "./web/**/*.ts"
24+
- "./web/**/*.tsx"
25+
- "./web/**/*.mjs"
26+
- "./web/**/*.css"
27+
- "./web/**/*.cjs"
28+
- "./web/**/*.astro"
29+
30+
jobs:
31+
lint:
32+
name: Build Site
33+
runs-on: ubuntu-latest
34+
35+
steps:
36+
- name: Checkout code
37+
uses: actions/checkout@v2
38+
39+
- name: Setup Bun
40+
uses: oven-sh/setup-bun@v2
41+
42+
- name: Install dependencies
43+
run: bun install
44+
45+
- name: Build Site
46+
run: bun run web:build

0 commit comments

Comments
 (0)