|
|
@@ -5,6 +5,17 @@ on:
|
|
|
push:
|
|
|
paths:
|
|
|
- '.github/workflows/codestyle.yml'
|
|
|
+ - 'Makefile'
|
|
|
+ - 'frontend/**'
|
|
|
+ - 'integration-tests/**'
|
|
|
+ - 'proto/**'
|
|
|
+ - 'service/**'
|
|
|
+ pull_request:
|
|
|
+ branches:
|
|
|
+ - next
|
|
|
+ paths:
|
|
|
+ - '.github/workflows/codestyle.yml'
|
|
|
+ - 'Makefile'
|
|
|
- 'frontend/**'
|
|
|
- 'integration-tests/**'
|
|
|
- 'proto/**'
|
|
|
@@ -35,9 +46,16 @@ jobs:
|
|
|
uses: actions/setup-node@v4
|
|
|
with:
|
|
|
node-version: '22'
|
|
|
+ cache: 'npm'
|
|
|
+ cache-dependency-path: |
|
|
|
+ frontend/package-lock.json
|
|
|
+ integration-tests/package-lock.json
|
|
|
|
|
|
- name: frontend
|
|
|
run: make -wC frontend codestyle
|
|
|
|
|
|
- name: frontend unit tests
|
|
|
run: make -wC frontend unittests
|
|
|
+
|
|
|
+ - name: integration tests codestyle
|
|
|
+ run: make -wC integration-tests codestyle
|