Skip to content

Commit

Permalink
enable ansi colour in Github Actions for test purposes
Browse files Browse the repository at this point in the history
  • Loading branch information
75lb committed Jun 11, 2024
1 parent 22b0a34 commit 19b3ca1
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,14 @@ jobs:
node-version: [18, 20, 22]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm install
- run: npm run test
- name: Run tests
run: npm run test
env:
FORCE_COLOR: 3 # To enable testing of ansi-coloured output

0 comments on commit 19b3ca1

Please sign in to comment.