Skip to content

Merge pull request #136 from spring-petclinic/dependabot/npm_and_yarn… #139

Merge pull request #136 from spring-petclinic/dependabot/npm_and_yarn…

Merge pull request #136 from spring-petclinic/dependabot/npm_and_yarn… #139

Workflow file for this run

name: Angular CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name : Install Dependencies
run: npm ci
- name: Build
run: npm run build --if-present -- --configuration production
- name: Lint
run: npm run lint
- name: Test
run: npm run test-headless