From a531bc37a8348301911d24cbde8c7de0b001f2ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Carrasco=20Mo=C3=B1ino?= Date: Tue, 3 Sep 2024 08:20:14 +0200 Subject: [PATCH] chore: update validation.yml --- .github/workflows/validation.yml | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/.github/workflows/validation.yml b/.github/workflows/validation.yml index 7bb3265c1..ec5273052 100644 --- a/.github/workflows/validation.yml +++ b/.github/workflows/validation.yml @@ -15,13 +15,13 @@ jobs: checks: write pull-requests: write steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: '18' - - uses: actions/setup-java@v3 + node-version: '21' + - uses: actions/setup-java@v4 with: - java-version: '17' + java-version: '18' distribution: 'temurin' - name: Set TB License run: | @@ -29,15 +29,11 @@ jobs: [ -z "$TBL" ] && echo "No TB license provided" && exit 1 mkdir -p ~/.vaadin/ echo '{"username":"'`echo $TBL | cut -d / -f1`'","proKey":"'`echo $TBL | cut -d / -f2`'"}' > ~/.vaadin/proKey - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} - restore-keys: ${{ runner.os }}-maven- - - uses: browser-actions/setup-chrome@latest - with: - chrome-version: stable - - uses: nanasess/setup-chromedriver@master + restore-keys: ${{ runner.os }}-maven- - name: Verify run: | mvn -B -V -ntp verify -Dheadless -Pit,production @@ -47,3 +43,10 @@ jobs: files: "**/target/*-reports/TEST*.xml" check_run_annotations: all tests, skipped tests check_run_annotations_branch: v24 + - if: ${{always()}} + uses: actions/upload-artifact@v4 + with: + name: files + path: | + **/error-screenshots + retention-days: 7