diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index ca9beb3..b15ac00 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -69,7 +69,7 @@ jobs: key: ${{ runner.os }}-build-${{env.INSTALL_CACHE_NAME}}-${{ hashFiles('**/package-lock.json') }} restore-keys: ${{ runner.os }}-build-${{env.INSTALL_CACHE_NAME}}- - name: Testing - run: npm run test:unit:2 && npm run test:unit:3 + run: npm run test:unit - name: Sending to Code Climate env: CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} diff --git a/package.json b/package.json index 40b6c34..431592e 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,7 @@ "build:prod": "npm run use-vue:2 && cross-env NODE_ENV=production npm run build", "lint": "vue-cli-service lint --max-warnings 0", "lint:ci": "npm run lint -- --no-fix", + "test:unit": "npm run test:unit:2 && npm run test:unit:3", "test:unit:2": "npm run use-vue:2 && vue-cli-service test:unit", "test:unit:3": "npm run use-vue:3 && vue-cli-service test:unit", "use-vue:2": "node scripts/swap-vue.js 2 && vue-demi-switch 2",