Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

develop to master

develop to master #15

name: Build On Pull Request
on:
pull_request:
branches: [ "master","develop" ]
jobs:
Build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
- name: Set up Java
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'adopt'
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: 16
- name: Build with NPM
run: |
npm config set legacy-peer-deps true
npm install -g @angular/cli
npm install --force
npm run build