Compare commits

...

6 Commits

Author SHA1 Message Date
7d68cce351 fix code style 2025-08-30 23:51:26 +02:00
e051a1aa4f add token for biome 2025-08-30 23:51:26 +02:00
e9ef31e7ee use biome giithub action 2025-08-30 23:51:26 +02:00
bba4960276 use bunx to run biome 2025-08-30 23:51:26 +02:00
b1d639f618 run bun install before lint 2025-08-30 23:51:26 +02:00
1702e0c408 run multiple lint commands in one sub step 2025-08-30 23:51:26 +02:00
5 changed files with 13 additions and 13 deletions

View File

@@ -31,12 +31,13 @@ jobs:
image: oven/bun
steps:
- uses: actions/checkout@v4
- name: Install Biome
run: bun install -g biome
- name: Run Biome lint
run: biome lint --write
- name: Run Biome format check
run: biome format --write
- name: Setup Biome
uses: biomejs/setup-biome@v2
with:
version: latest
token: ${{ secrets.BIOME_TOKEN }}
- name: Run Biome
run: biome ci .
build-and-push-docker:
needs: [build]

View File

@@ -6,7 +6,7 @@
},
"files": {
"ignoreUnknown": false,
"includes": ["**","!**/dist"]
"includes": ["**", "!**/dist"]
},
"formatter": {
"enabled": true,

View File

@@ -1,8 +1,8 @@
const token = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiI3N2JmOTk1ODI3MzA0ZWIzOWYwNThjMzQ4YTY3ZDJkYyIsImlhdCI6MTc1NjQ3NTM4OSwiZXhwIjoyMDcxODM1Mzg5fQ.TZZ4SUGlERuIVrhzC_wfCN-qS1wSAKNN9uMMDjkqOgA";
const token =
"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiI3N2JmOTk1ODI3MzA0ZWIzOWYwNThjMzQ4YTY3ZDJkYyIsImlhdCI6MTc1NjQ3NTM4OSwiZXhwIjoyMDcxODM1Mzg5fQ.TZZ4SUGlERuIVrhzC_wfCN-qS1wSAKNN9uMMDjkqOgA";
async function fetchTentHumidity() {
const url =
`https://home.rivercry.com/api/states/sensor.third_reality_inc_3rths0224z_luftfeuchtigkeit_2`;
const url = `https://home.rivercry.com/api/states/sensor.third_reality_inc_3rths0224z_luftfeuchtigkeit_2`;
const response = await fetch(url, {
method: "GET",
headers: {

View File

@@ -1,6 +1,5 @@
import style from "./style.module.css";
import weedImage from "/img/weed.png";
import style from "./style.module.css";
export default function Footer() {
return (

View File

@@ -1,7 +1,7 @@
import path from "node:path";
import react from "@vitejs/plugin-react-swc";
import { defineConfig } from "vite";
import mkcert from 'vite-plugin-mkcert'
import mkcert from "vite-plugin-mkcert";
export default defineConfig({
plugins: [react(), mkcert()],