feat(github): push test/lint actions implemented

This commit is contained in:
2025-10-08 16:07:04 +02:00
parent 3f2c7c1d4a
commit 9ef4dc58fa
3 changed files with 65 additions and 42 deletions

17
.github/workflows/lint_front.yml vendored Normal file
View File

@@ -0,0 +1,17 @@
name: Lint front projects
on:
push:
branches:
- "feature/**"
- "bugfix/**"
jobs:
next:
name: Next front lint
runs-on: ubuntu-latest
steps:
- name: Checkout into git repository
uses: actions/checkout@v4
- name: Runs front tests
run: cd front && npx lint-staged -c ./.eslintrc.json -q

17
.github/workflows/test_front.yml vendored Normal file
View File

@@ -0,0 +1,17 @@
name: Test front projects
on:
push:
branches:
- "feature/**"
- "bugfix/**"
jobs:
next:
name: Next front test
runs-on: ubuntu-latest
steps:
- name: Checkout into git repository
uses: actions/checkout@v4
- name: Runs front tests
run: cd front && npm i && npm run test