Skip to content

add template spring-petclinic-ai #534

add template spring-petclinic-ai

add template spring-petclinic-ai #534

Workflow file for this run

name: Test Deploy (on PR)
on:
pull_request:
branches:
- main
# Review gh actions docs if you want to further define triggers, paths, etc
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on
permissions:
id-token: write
contents: read
jobs:
test-deploy:
name: Test deployment
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
cache-dependency-path: website/package-lock.json
- name: Build website
working-directory: website
run: |
npm ci
npm run build
- name: Run Tests
working-directory: website
run: |
npm test