From 4ce5bc8dd7e642ad7f13ccaa52dffbda6967de2c Mon Sep 17 00:00:00 2001 From: James Perretta Date: Thu, 4 Apr 2024 21:20:09 -0400 Subject: [PATCH] Separated build and lint scripts in package.json. --- .github/workflows/node.js.yml | 1 + package.json | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index e3b3b3a7..1ad896ca 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -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 diff --git a/package.json b/package.json index 853bce01..678bcaa9 100644 --- a/package.json +++ b/package.json @@ -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": {