Fix duplicate pages in admin #439
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: '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 |