chore(web): do not run eslint when APP_ENV=test

This commit is contained in:
Ali BARIN
2025-05-07 11:53:26 +00:00
parent 6532509dff
commit ea07c3ff89
2 changed files with 3 additions and 3 deletions

View File

@@ -88,7 +88,7 @@ jobs:
working-directory: ./packages/e2e-tests
if: steps.playwright-cache.outputs.cache-hit != 'true'
- name: Build Automatisch web
run: yarn build
run: APP_ENV=test yarn build
env:
# Keep this until we clean up warnings in build processes
CI: false

View File

@@ -19,7 +19,7 @@ export default defineConfig(() => {
plugins: ['@emotion/babel-plugin'],
},
}),
{
process.env.APP_ENV !== 'test' && {
...eslint({
include: ['src/**/*.js', 'src/**/*.jsx'],
}),
@@ -34,7 +34,7 @@ export default defineConfig(() => {
apply: 'serve',
enforce: 'post',
},
],
].filter(Boolean),
resolve: {
alias: {
components: path.resolve(__dirname, './src/components'),