Skip to content

Commit

Permalink
Run build tests every 4 hours and changed actions/upload-artifact@v3 …
Browse files Browse the repository at this point in the history
…to v4
  • Loading branch information
milanmajchrak authored Jan 24, 2025
1 parent 96c78a3 commit 60567ef
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ name: Build

# Run this Build for pushes to our main and all PRs
on:
schedule:
- cron: '0 */4 * * *'
push:
branches:
- dtq-dev
Expand Down Expand Up @@ -107,7 +109,7 @@ jobs:
# so that it can be shared with the 'codecov' job (see below)
# NOTE: Angular CLI only supports code coverage for specs. See https://github.com/angular/angular-cli/issues/6286
- name: Upload code coverage report to Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: matrix.node-version == '18.x'
with:
name: dspace-angular coverage report
Expand Down Expand Up @@ -141,7 +143,7 @@ jobs:
# Cypress always creates a video of all e2e tests (whether they succeeded or failed)
# Save those in an Artifact
- name: Upload e2e test videos to Artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: e2e-test-videos
Expand All @@ -150,7 +152,7 @@ jobs:
# If e2e tests fail, Cypress creates a screenshot of what happened
# Save those in an Artifact
- name: Upload e2e test failure screenshots to Artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: e2e-test-screenshots
Expand Down

0 comments on commit 60567ef

Please sign in to comment.