From a8f4b4833411c9c04f6cb2d569cc423757e7bd91 Mon Sep 17 00:00:00 2001 From: Alvaro Jose Date: Tue, 17 Aug 2021 09:13:33 +0200 Subject: [PATCH 1/2] Run test before compile --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 9035601..8e0624a 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "lint": "eslint .", "prepare": "ncc build index.js -o dist --source-map --license licenses.txt", "test": "jest", - "all": "npm run lint && npm run prepare && npm run test" + "all": "npm run lint && npm run test && npm run prepare" }, "repository": { "type": "git", From 3649ee2b02b17cf2b074465591aa3e362af20b2d Mon Sep 17 00:00:00 2001 From: Jongwoo Han Date: Wed, 7 Dec 2022 00:56:30 +0900 Subject: [PATCH 2/2] Use cache in check-dist.yml Signed-off-by: jongwooo --- .github/workflows/check-dist.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/check-dist.yml b/.github/workflows/check-dist.yml index 4bb8667..0d6fa1e 100644 --- a/.github/workflows/check-dist.yml +++ b/.github/workflows/check-dist.yml @@ -27,6 +27,7 @@ jobs: uses: actions/setup-node@v3.5.1 with: node-version: 16.x + cache: npm - name: Install dependencies run: npm ci