This repository has been archived by the owner on Jul 1, 2024. It is now read-only.
Develop to Master #55
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: [ "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: Setup JDK 17 | |
uses: actions/setup-java@v2 | |
with: | |
java-version: 17 | |
distribution: 'zulu' | |
- name: Set up Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 16 | |
- name: Build with NPM and Maven | |
run: | | |
yarn config set legacy-peer-deps true | |
yarn global add node-gyp | |
yarn add node-sass --force | |
yarn --force | |
yarn build | |