diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..1d4d275 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,22 @@ +name: CI +on: + - push + - pull_request +jobs: + test: + name: Node.js ${{ matrix.node-version }} + runs-on: macos-latest + strategy: + fail-fast: false + matrix: + node-version: + - 14 + - 12 + - 10 + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - run: npm install + - run: npm test diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index d50cc60..0000000 --- a/.travis.yml +++ /dev/null @@ -1,6 +0,0 @@ -os: osx -language: node_js -node_js: - - '14' - - '12' - - '10' diff --git a/readme.md b/readme.md index bd14c31..03c8875 100644 --- a/readme.md +++ b/readme.md @@ -1,4 +1,4 @@ -# term-img [![Build Status](https://travis-ci.com/sindresorhus/term-img.svg?branch=master)](https://travis-ci.com/github/sindresorhus/term-img) +# term-img > Display images in iTerm