Make eslint work in CI (#42)

This commit is contained in:
Mozi
2021-05-26 19:51:43 +08:00
committed by GitHub
parent 08b850b4d0
commit 100402d805
2 changed files with 3 additions and 2 deletions
+2
View File
@@ -18,6 +18,8 @@ jobs:
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Download Internet - name: Download Internet
run: npm install run: npm install
- name: Run eslint
run: npm run lint
- name: Enable Developer Command Prompt (amd64) - name: Enable Developer Command Prompt (amd64)
uses: ./ uses: ./
with: with:
+1 -2
View File
@@ -4,8 +4,7 @@
"description": "GitHub Action to setup Developer Command Prompt for Microsoft Visual C++", "description": "GitHub Action to setup Developer Command Prompt for Microsoft Visual C++",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"lint": "eslint index.js", "lint": "eslint index.js"
"test": "eslint index.js"
}, },
"repository": { "repository": {
"type": "git", "type": "git",