Merge pull request #3167 from hLinx/hotfix_3.9.x #841
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
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | |
name: Frontend CI | |
on: | |
push: | |
branches: [ master ] | |
paths: | |
- 'src/frontend/**' | |
pull_request: | |
branches: [ master, 3.* ] | |
paths: | |
- 'src/frontend/**' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- run: echo "npm version=$(npm -v)" | |
- name: build | |
run: | | |
export JOB_VERSION=3.latest | |
npm i --legacy-peer-deps && npm run build | |
working-directory: src/frontend |