Skip to content

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
75lb committed Mar 6, 2023
1 parent 2068336 commit 9558112
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down

0 comments on commit 9558112

Please sign in to comment.