From bae90b0223a5a6f46e6f1d9427c6a3408b7460e7 Mon Sep 17 00:00:00 2001 From: Cosmin Popovici Date: Sat, 30 Dec 2023 17:15:44 +0200 Subject: [PATCH] ci: update github actions workflow --- .github/workflows/nodejs.yml | 8 ++++---- package.json | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 2047aa2..13edbef 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -17,12 +17,12 @@ jobs: node-version: [16, 18, 20] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - - run: npm install - - run: npm run coverage + - run: npm ci + - run: npm test env: CI: true diff --git a/package.json b/package.json index fde43a2..0c79938 100644 --- a/package.json +++ b/package.json @@ -5,8 +5,8 @@ "main": "src/index.js", "scripts": { "release": "np", - "test": "vitest", - "coverage": "vitest run --coverage" + "test:dev": "vitest", + "test": "vitest run --coverage" }, "license": "MIT", "repository": "https://github.com/maizzle/tailwindcss-plugin-starter",