From 4e77e5b85129e928bbae431e863e7d22368a3338 Mon Sep 17 00:00:00 2001 From: Marcelo Ucker Date: Mon, 5 Jun 2023 00:57:52 -0300 Subject: [PATCH] ci: update test workflow --- .github/workflows/job.yml | 3 +-- package.json | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/job.yml b/.github/workflows/job.yml index 03d7fd9..806c6eb 100644 --- a/.github/workflows/job.yml +++ b/.github/workflows/job.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: - node-version: [10.x, 12.x, 14.x, 16.x, 18.x, 20.x] + node-version: [ 14, 16, 18 ] steps: - uses: actions/checkout@v3 @@ -21,5 +21,4 @@ jobs: with: node-version: ${{ matrix.node-version }} - run: npm ci - - run: npm run build --if-present - run: npm test diff --git a/package.json b/package.json index 4e1816b..fc8066d 100644 --- a/package.json +++ b/package.json @@ -22,9 +22,8 @@ "postcss": "^8.4.23" }, "scripts": { - "test": "jest", + "test": "jest --coverage", "test:watch": "jest --watch", - "test:coverage": "jest --coverage", "lint": "eslint ./lib", "prepublish": "npm run lint && npm test" },