added webpack to pr check

This commit is contained in:
Miodec 2022-02-12 19:07:58 +01:00
parent 50d71388f3
commit 17a0822ab6
2 changed files with 4 additions and 0 deletions

View file

@ -32,3 +32,6 @@ jobs:
- name: Check for lint
run: npm run lint
- name: Run webpack
run: npm run build:live

View file

@ -10,6 +10,7 @@
"deploy:live": "cd frontend && npm run deploy:live",
"install:all": "sh ./bin/install.sh",
"lint": "./node_modules/.bin/eslint './backend/**/*.js' './frontend/src/scripts/**/*.js'",
"build:live": "cd ./frontend && npm run build:live",
"pretty": "prettier --check './backend/**/*.js' './frontend/src/**/*.{js,scss}' './frontend/static/**/*.{json,html}'",
"webpack": "cd frontend && npx webpack --config webpack.config.js",
"dep-graph": "madge -c -i \"dep-graph.png\" ./frontend/src/js"