mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-02 12:00:10 +08:00
added webpack to pr check
This commit is contained in:
parent
50d71388f3
commit
17a0822ab6
2 changed files with 4 additions and 0 deletions
3
.github/workflows/pr-check.yml
vendored
3
.github/workflows/pr-check.yml
vendored
|
@ -32,3 +32,6 @@ jobs:
|
|||
|
||||
- name: Check for lint
|
||||
run: npm run lint
|
||||
|
||||
- name: Run webpack
|
||||
run: npm run build:live
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue