chore(web): do not run eslint when APP_ENV=test
This commit is contained in:
2
.github/workflows/playwright.yml
vendored
2
.github/workflows/playwright.yml
vendored
@@ -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
|
||||
|
||||
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user