Skip to content

Commit

Permalink
fix github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
nefelitav committed Feb 15, 2024
1 parent 68be023 commit 0d6be1b
Show file tree
Hide file tree
Showing 7 changed files with 34 additions and 24 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: Builb Test and push
name: Build, Test and Push
on:
push:
branches:
- "**"
pull_request:
branches:
- "**"
push:
branches:
- "**"
pull_request:
branches:
- "**"
jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -16,5 +16,4 @@ jobs:
with:
node-version: 20
- run: npm install
- run: npm run lint
- run: npm run dev
- run: npm run lint
11 changes: 0 additions & 11 deletions src/App.tsx

This file was deleted.

9 changes: 9 additions & 0 deletions src/components/Login.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import '../App.css'

export default function Login() {
return (
<>
<p>login</p>
</>
)
}
1 change: 1 addition & 0 deletions src/components/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default as Login } from "./Login";
9 changes: 9 additions & 0 deletions src/components/login.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import '../App.css'

export default function Login() {
return (
<>
<p>login</p>
</>
)
}
7 changes: 4 additions & 3 deletions src/main.tsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
import React from 'react'
import ReactDOM from 'react-dom/client'
import App from './App.tsx'
import './index.css'
import {
createBrowserRouter,
RouterProvider,
} from "react-router-dom";

import {
Login
} from "./components";
const router = createBrowserRouter([
{
path: "/",
element: <App />,
element: <Login/>,

},
{
Expand Down
4 changes: 3 additions & 1 deletion tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,7 @@ export default {
theme: {
extend: {},
},
plugins: [],
plugins: [
require('@tailwindcss/forms'),
],
} satisfies Config

0 comments on commit 0d6be1b

Please sign in to comment.