Bump nanoid from 3.3.6 to 3.3.8 #1469
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will build a Java project with Gradle | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle | |
name: Java CI with Gradle | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Java JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: '21' | |
cache: 'gradle' | |
- name: Setup Node.js environment | |
uses: actions/[email protected] | |
with: | |
node-version: 20 | |
- name: Login to Docker Hub | |
uses: docker/[email protected] | |
if: github.actor != 'dependabot[bot]' | |
with: | |
username: ${{ secrets.DOCKER_HUB_USERNAME }} | |
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} | |
- name: print versions | |
run: | | |
java -version | |
node --version | |
npm --version | |
docker version | |
docker info | |
ip a | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v3 | |
with: | |
languages: java, javascript | |
- name: Build with Gradle | |
run: ./gradlew build --no-daemon | |
env: | |
HOST_FOR_SELENIUM: "172.17.0.1" | |
- name: Publish Unit Test Results | |
uses: EnricoMi/publish-unit-test-result-action@v2 | |
if: github.actor != 'dependabot[bot]' | |
with: | |
files: build/test-results/test/*.xml | |
- name: publish screenshots | |
uses: actions/upload-artifact@v4 | |
if: always() | |
with: | |
name: screenshots | |
path: build/screenshot/ | |
- name: publish spotbugs | |
if: github.actor != 'dependabot[bot]' | |
uses: jwgmeligmeyling/spotbugs-github-action@master | |
with: | |
path: 'build/reports/spotbugs/*.xml' | |
- name: publish pmd | |
if: github.actor != 'dependabot[bot]' | |
uses: jwgmeligmeyling/pmd-github-action@master | |
with: | |
path: 'build/reports/pmd/*.xml' | |
- name: code coverage | |
uses: codecov/codecov-action@v5 | |
if: always() | |
- name: build docker image | |
run: docker build -t demo-spring-jsf . | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v3 |