added build-and-test-frontend and deleted frontend tests
Build and Test / build-and-test-backend (push) Successful in 22s
Build and Test / build-and-test-frontend (push) Failing after 30s

This commit is contained in:
wt committed 2025-08-08 21:47:45 +07:00
1 parent 78247d5ba7
commit 015cad5d83
2 files changed
+19 -9

No files matched your search

+19 -1
View File
@@ -11,7 +11,7 @@ on:
- develop
jobs:
build-and-test:
build-and-test-backend:
runs-on: ubuntu-latest
steps:
- name: Checkout
@@ -30,3 +30,21 @@ jobs:
- name: test
run: cd backend && go test -v ./...
build-and-test-frontend:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v4
with:
node-verion: "24.1.0"
cache: "npm"
- name: Install dependencies
run: cd frontend && npm ci
- name: Build
run: cd frontend && npm run build
-8
View File
@@ -1,8 +0,0 @@
import { render, screen } from '@testing-library/react';
import App from './App';
test('renders learn react link', () => {
render(<App />);
const linkElement = screen.getByText(/learn react/i);
expect(linkElement).toBeInTheDocument();
});