Skip to content

defining the name of the action to be 'LoadRunner Enterprise Test Exe… #4

defining the name of the action to be 'LoadRunner Enterprise Test Exe…

defining the name of the action to be 'LoadRunner Enterprise Test Exe… #4

Workflow file for this run

name: CI build
on:
push:
branches:
- main
paths:
- 'java/**'
- 'scr/**'
- 'action.yml'
- 'package.json'
- 'package-lock.json'
- 'webpack.config.js'
- '.github/workflows/buildci.yml'
tags-ignore:
- 'v*.*.*'
pull_request:
branches:
- main
paths:
- 'java/**'
- 'scr/**'
- 'action.yml'
- 'package.json'
- 'package-lock.json'
- 'webpack.config.js'
- '.github/workflows/buildci.yml'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: '11'
- name: Build with Maven
run: mvn -B package --file java/pom.xml
- name: Run tests
run: mvn -B test --file java/pom.xml
# Build with npm
- name: Build with npm
run: npm run buildWebpackU
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: collect action descriptor and npm build
path: |
action.yml
bundle/