From 9efe917289312aa19a3853a05cafd47414bb1d65 Mon Sep 17 00:00:00 2001 From: 3y3 <3y3@ya.ru> Date: Sun, 11 Aug 2024 04:50:32 +0300 Subject: [PATCH] chore: Add lint run tests --- test/package.json | 2 +- test/test.sh | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100755 test/test.sh diff --git a/test/package.json b/test/package.json index 9ea0015..0d817e4 100644 --- a/test/package.json +++ b/test/package.json @@ -5,7 +5,7 @@ "../" ], "scripts": { - "start": "npm i @diplodoc/lint && npx @diplodoc/lint init" + "start": "sh ./test.sh" }, "dependencies": { "@diplodoc/lint": "^1.0.0" diff --git a/test/test.sh b/test/test.sh new file mode 100755 index 0000000..b4ec026 --- /dev/null +++ b/test/test.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash + +set -e + +npm i @diplodoc/lint +npx @diplodoc/lint init +npm run lint \ No newline at end of file