diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 48374ad..5e4f474 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -25,4 +25,4 @@ jobs: node-version: ${{ matrix.node-version }} cache: 'npm' - run: npm install - - run: FORCE_COLOR=3 npm test # FORCE_COLOR=3 enables full 16,777,216 colour support + - run: FORCE_COLOR=3 npm run ci:test # FORCE_COLOR=3 enables full 16,777,216 colour support diff --git a/package.json b/package.json index 5d10611..da48476 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,8 @@ }, "scripts": { "docs": "jsdoc2md --no-gfm index.js lib/**/*.js > doc/api.md; echo", - "test": "npm run dist && test-runner test/*.js test/*.cjs", + "test": "npm run dist && npm run ci:test", + "ci:test": "test-runner test/*.js test/*.cjs", "examples": "for FILE in example/*.js; do printf \"\n\n======== $FILE ========\n\n\"; node $FILE; done", "dist": "rollup -c" },