Skip to content

fix github actions for new node solution #281

fix github actions for new node solution

fix github actions for new node solution #281

Workflow file for this run

name: Run tests
on: [push]
jobs:
tests:
name: Run tests with spring boot version compatibility check
runs-on: ubuntu-latest
strategy:
matrix:
spring-boot: [ '2.7.15', '3.0.6', '3.1.3' ]
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
- name: Cache Node.js modules
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install Node.js dependencies
run: |
cd db-scheduler-ui-frontend
npm install
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Run tests
run: mvn -B -Dspring-boot.version=${{ matrix.spring-boot }} clean test --file pom.xml