104 wasa #32
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build On Pull Request | |
on: | |
pull_request: | |
branches: [ "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: Setup JDK 8 | |
uses: actions/setup-java@v2 | |
with: | |
java-version: 8 | |
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 [email protected] --save-dev | |
npm install node-sass --force | |
npm install crypto-js --force | |
npm install [email protected] | |
npm install --force | |
npm run build |