Skip to content

Commit

Permalink
fix: decoration colors are configurable (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
markis authored Mar 12, 2024
1 parent 784acfc commit 3ce225b
Show file tree
Hide file tree
Showing 13 changed files with 1,045 additions and 699 deletions.
37 changes: 18 additions & 19 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,12 @@ name: npm test

on:
push:
branches: [ master ]
branches: [master]
pull_request:
branches: [ master ]
branches: [master]

jobs:
build:

strategy:
matrix:
node-version:
Expand All @@ -20,20 +19,20 @@ jobs:

runs-on: ${{ matrix.os }}
steps:
- name: Setup xvfb for ubuntu
run: Xvfb :99 -screen 0 1024x768x24 > /dev/null &
if: matrix.os == 'ubuntu-latest'
- name: Setup xvfb for ubuntu
run: Xvfb :99 -screen 0 1024x768x24 > /dev/null &
if: matrix.os == 'ubuntu-latest'

- uses: actions/checkout@v2
- name: Use node ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build --if-present
- run: npm run lint --if-present
if: matrix.os == 'ubuntu-latest'
- run: npm test
env:
CI: true
DISPLAY: :99.0
- uses: actions/checkout@v2
- name: Use node ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build --if-present
- run: npm run lint --if-present
if: matrix.os == 'ubuntu-latest'
- run: npm test
env:
CI: true
DISPLAY: :99.0
4 changes: 2 additions & 2 deletions example/test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { equal } from 'assert';
import { strictEqual } from 'assert';
import { add } from './index';

equal(add(1, 1), 2);
strictEqual(add(1, 1), 2);
Loading

0 comments on commit 3ce225b

Please sign in to comment.