From f0ddffc130a28e4bb1cf1da10d86a2dff1eb1308 Mon Sep 17 00:00:00 2001 From: Flavio De Stefano Date: Fri, 2 Aug 2024 13:55:13 +0200 Subject: [PATCH] adding CI --- .github/workflows/build.yml | 6 +++++- package.json | 1 - 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bf0465d..12c9a67 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,10 +21,14 @@ jobs: - name: Install dependencies run: npm install + env: + CI: true - name: Lint the project run: npm run lint - + env: + CI: true + - name: Build the project run: npm run build env: diff --git a/package.json b/package.json index 2286742..abdf3da 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,6 @@ "main": "dist/index.js", "license": "ISC", "scripts": { - "lint": "eslint src/**/*.ts --max-warnings=0", "watch": "npm run build && npm link && nodemon", "build": "rimraf ./dist && tsc", "prepublishOnly": "npm run lint && npm run build"