Skip to content

Commit

Permalink
chore: update validation.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
manolo authored Sep 3, 2024
1 parent 6c20dad commit a531bc3
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions .github/workflows/validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,29 +15,25 @@ 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: |
TBL=${{ secrets.TB_LICENSE }}
[ -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
Expand All @@ -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

0 comments on commit a531bc3

Please sign in to comment.