Skip to content

Commit

Permalink
fix(): first iteration of new main workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Skraye committed Feb 10, 2025
1 parent 9623a01 commit 1e5548a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/actions/frontend-test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ runs:
- id: checkout
uses: actions/checkout@v4
with:
ref: ${{ github.ref }} # Using ref in case translations has committed something
ref: ${{ github.head_ref }}

- name: Npm install
shell: bash
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
needs: file-changes
runs-on: ubuntu-latest
timeout-minutes: 60
if: needs.file-changes.outputs.backend == 'true'
if: "needs.file-changes.outputs.backend == 'true'"
steps:
- uses: actions/checkout@v4

Expand All @@ -78,9 +78,9 @@ jobs:
google-service-account: ${{ secrets.GOOGLE_SERVICE_ACCOUNT }}

build-artifacts:
if: needs.file-changes.outputs.e2e == 'true'
name: Build artifacts
runs-on: ubuntu-latest
if: needs.file-changes.outputs.e2e == 'true'
steps:
- uses: actions/checkout@v4

Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/workflow-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ on:
push:
branches:
- develop

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
tests:
name: Execute tests
Expand Down

0 comments on commit 1e5548a

Please sign in to comment.