Skip to content

Commit

Permalink
Merge pull request #508 from eecs-autograder/lint_script_tweak
Browse files Browse the repository at this point in the history
Separated build and lint scripts in package.json.
  • Loading branch information
james-perretta authored Apr 5, 2024
2 parents fe498fd + 4ce5bc8 commit f390314
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,6 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm install
- run: npm run lint
- run: npm run build
- run: npm test
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
"build": "./static_analysis.bash && vue-cli-service build",
"lint": "./static_analysis.bash",
"build": "vue-cli-service build",
"test": "python3 run_tests.py"
},
"dependencies": {
Expand Down

0 comments on commit f390314

Please sign in to comment.