Skip to content

Commit

Permalink
BC-8130 update GHA packages versions
Browse files Browse the repository at this point in the history
  • Loading branch information
UzaeirKhan committed Dec 11, 2024
1 parent fab39cb commit c7b461a
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/automatic-trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ jobs:

steps:
- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18

- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

configuring-loading-secrets-running-tests:
needs: e2e-system-tests
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: hpi-schul-cloud/e2e-system-tests
path: e2e-system-tests
Expand Down Expand Up @@ -70,19 +70,18 @@ jobs:
"${{ inputs.environment }}"
- name: Clean up previous report
uses: cypress-io/github-action@v5
uses: cypress-io/github-action@v6
with:
working-directory: e2e-system-tests
command: npm run pretest
browser: edge

- name: Start Edge (Headless)
run: |
nohup microsoft-edge-stable --headless --no-sandbox &
echo $! > edge_pid
- name: Cypress run
uses: cypress-io/github-action@v5
uses: cypress-io/github-action@v6
with:
working-directory: e2e-system-tests
command: npm run ${{ inputs.tag }}
Expand All @@ -103,14 +102,14 @@ jobs:
npm run generate:report
- name: Upload Report
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: ${{ inputs.groups }}-cypress-report
path: ${{ github.workspace }}/e2e-system-tests/reports/

- name: Upload Video Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: ${{ inputs.groups }}-cypress-video-artifact
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/manual-trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ jobs:

steps:
- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18

- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set all parameters for next job
id: set_variables
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/remote-trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

steps:
- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18

Expand All @@ -36,14 +36,14 @@ jobs:
- name: Checkout main
if: steps.check_branch.outputs.LOCAL_BRANCH_EXISTS == 'false'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: hpi-schul-cloud/e2e-system-tests
path: e2e-system-tests

- name: Checkout branch
if: steps.check_branch.outputs.LOCAL_BRANCH_EXISTS == 'true'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: hpi-schul-cloud/e2e-system-tests
ref: ${{ inputs.ref }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/scheduled-trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ jobs:

steps:
- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18

- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

configuring-loading-secrets-running-tests:
needs: e2e-system-tests
Expand Down

0 comments on commit c7b461a

Please sign in to comment.