Merge pull request #222 from Ettrig/AoI2TA #411
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: Frontend Build | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
Build_On_Ubuntu: | |
runs-on: ubuntu-latest | |
env: | |
CI: false | |
strategy: | |
matrix: | |
node-version: [16.14.2] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install dependencies | |
run: | | |
cd frontend/ | |
npm install --legacy-peer-deps | |
- name: Build | |
run: | | |
cd frontend/ | |
npm run build |