Skip to content

Commit

Permalink
chore(devops): remove redundant trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
mmtftr committed May 14, 2024
1 parent 4f05546 commit bafa11c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 14 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/backend_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,30 +3,23 @@ name: backend-test
on:
push:
paths:
- 'backend/**'
- "backend/**"
- compose.yml
- dev.yml
- '.github/workflows/backend_test.yml'

- ".github/workflows/backend_test.yml"
pull_request:
branches:
- main
- staging
- develop


jobs:
test:
runs-on: ubuntu-latest
env:
working-directory:
backend
working-directory: backend
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Test with Maven
run: docker compose -f dev.yml run --rm backend mvn test



14 changes: 11 additions & 3 deletions .github/workflows/frontend_test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
name: Front-End CI

on: [push, pull_request]
on:
push:
paths:
- "frontend/**"
- ".github/**"
pull_request:
branches:
- main
- staging

jobs:
build:
Expand All @@ -15,8 +23,8 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '20'
cache: 'yarn'
node-version: "20"
cache: "yarn"

- name: Enable Corepack
run: corepack enable
Expand Down

0 comments on commit bafa11c

Please sign in to comment.