Skip to content

Fix compatibility with doctrine fixtures 2.0 #441

Fix compatibility with doctrine fixtures 2.0

Fix compatibility with doctrine fixtures 2.0 #441

Workflow file for this run

name: 'CI - Frontend'
on:
[push, pull_request]
jobs:
test:
name: Validate frontend setup
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- name: Remove twig syntax from package.json
run: |
sed -i -e 's/{% if demosite %}//g' src/Kunstmaan/GeneratorBundle/Resources/SensioGeneratorBundle/skeleton/layout/groundcontrol/package.json
sed -i -e 's/{% endif %}//g' src/Kunstmaan/GeneratorBundle/Resources/SensioGeneratorBundle/skeleton/layout/groundcontrol/package.json
sed -i -e 's/"name".*/"name":"demo",/g' src/Kunstmaan/GeneratorBundle/Resources/SensioGeneratorBundle/skeleton/layout/groundcontrol/package.json
# - name: Install dependencies
# run: yarn
#
# - run: |
# npm run build -- --continueAfterTestError=true
## Temporary disable buildGroundControlSkeleton step as npm install takes a very long time.
## npm run buildGroundControlSkeleton