Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 12 additions & 10 deletions .github/workflows/build-check.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,24 @@
name: Build
on:
on:
push:
branches:
- main
- develop
paths:
- "angular-client/**"
- "scylla-server/**"
- "compose/**"
- ".github/workflows/build-check.yml"
pull_request:
branches:
- main
- develop
- 'feature/**'
paths:
- "angular-client/**"
- "scylla-server/**"
- "compose/**"
- ".github/workflows/build-check.yml"
jobs:
run-build:
runs-on: ubuntu-latest
Expand All @@ -17,14 +27,6 @@ jobs:
- name: Checkout code
uses: actions/checkout@v6

- name: Set up Docker Compose
run: |
sudo apt-get -y update
sudo apt-get -y install docker-compose
- name: Build Docker Compose
working-directory: compose
run: |
if ! docker-compose build; then
echo "Docker Compose build failed."
exit 1 # This will cause the workflow to fail
fi
run: docker compose build
Original file line number Diff line number Diff line change
@@ -1,17 +1,28 @@
name: Prettier Check
name: Client CI

on:
push:
branches:
- main
- develop
paths:
- "angular-client/**"
- ".github/workflows/client-ci.yml"
pull_request:
branches:
- main
- develop
- "feature/**"
paths:
- "angular-client/**"
- ".github/workflows/client-ci.yml"

defaults:
run:
working-directory: angular-client

jobs:
run-prettier-check:
lint-and-format:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
Expand All @@ -20,12 +31,12 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v6
with:
node-version: 18.17.1
node-version: 20.17.0
cache: "npm"
cache-dependency-path: ./angular-client/package-lock.json
cache-dependency-path: angular-client/package-lock.json
- name: Install modules
working-directory: ./angular-client
run: npm install
run: npm ci
- name: Run linting check
run: npm run lint -- --max-warnings=0
- name: Run prettier check
working-directory: ./angular-client
run: npm run prettier-check
31 changes: 0 additions & 31 deletions .github/workflows/lint-check.yml

This file was deleted.

6 changes: 6 additions & 0 deletions .github/workflows/scylla-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,17 @@ on:
branches:
- main
- develop
paths:
- "scylla-server/**"
- ".github/workflows/scylla-ci.yml"
pull_request:
branches:
- main
- develop
- 'feature/**'
paths:
- "scylla-server/**"
- ".github/workflows/scylla-ci.yml"


defaults:
Expand Down