feat(github): push test/lint actions implemented
This commit is contained in:
17
.github/workflows/lint_front.yml
vendored
Normal file
17
.github/workflows/lint_front.yml
vendored
Normal 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
17
.github/workflows/test_front.yml
vendored
Normal 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
|
||||
Reference in New Issue
Block a user