From 0811219913dd4ad005d9eda551de9ac67e004821 Mon Sep 17 00:00:00 2001 From: uzlopak Date: Mon, 11 Jul 2022 15:25:11 +0200 Subject: [PATCH] reorder npm scripts, run ci with lint: true --- .github/workflows/ci.yml | 2 ++ package.json | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 32b3d16..913752e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,3 +13,5 @@ on: jobs: test: uses: fastify/workflows/.github/workflows/plugins-ci.yml@v3 + with: + lint: true diff --git a/package.json b/package.json index 0f47ecd..ca0abfb 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,10 @@ "main": "index.js", "types": "index.d.ts", "scripts": { - "test": "standard && tap test.js && tsd" + "lint": "standard", + "test": "npm run test:unit && npm run test:types", + "test:unit": "tap test.js", + "test:types": "tsd" }, "repository": { "type": "git",