mirror of
https://github.com/OliveTin/OliveTin
synced 2026-09-26 19:55:40 +00:00
ci: run deterministic JavaScript checks on pull requests
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user