[ci] Move .babelrc copy before run webpack
To avoid:
ERROR in ./desktop/core/src/desktop/js/parse/sql/sqlParserRepository.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
SyntaxError: /usr/share/hue/desktop/core/src/desktop/js/parse/sql/sqlParserRepository.js: Support for the experimental syntax 'dynamicImport' isn't currently enabled (22:18):
@@ -64,6 +64,7 @@ jobs:
cd /usr/share/hue
# make npm-install # Not available
+ cp ~/repo/.babelrc .
npm install
npm run webpack
npm run webpack-login
@@ -84,7 +85,6 @@ jobs:
name: run js tests
command: |
cd /usr/share/hue
- cp ~/repo/.babelrc .
npm run test
# Code analyses
