feat(github): push test/lint actions implemented
This commit is contained in:
1 parent
3f2c7c1d4a
commit
9ef4dc58fa
3 files changed
+65
-42
No files matched your search
@@ -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
|
||||
@@ -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