From 100402d805b75bcf1be47039495c1f7e3e26ee13 Mon Sep 17 00:00:00 2001 From: Mozi <29089388+pzhlkj6612@users.noreply.github.com> Date: Wed, 26 May 2021 19:51:43 +0800 Subject: [PATCH] Make eslint work in CI (#42) --- .github/workflows/main.yml | 2 ++ package.json | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f3d7f66..d0e4aeb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,6 +18,8 @@ jobs: uses: actions/checkout@v2 - name: Download Internet run: npm install + - name: Run eslint + run: npm run lint - name: Enable Developer Command Prompt (amd64) uses: ./ with: diff --git a/package.json b/package.json index f110a2c..c2f7c22 100644 --- a/package.json +++ b/package.json @@ -4,8 +4,7 @@ "description": "GitHub Action to setup Developer Command Prompt for Microsoft Visual C++", "main": "index.js", "scripts": { - "lint": "eslint index.js", - "test": "eslint index.js" + "lint": "eslint index.js" }, "repository": { "type": "git",