From 54f3404976087194d32e46f0345000f45a525714 Mon Sep 17 00:00:00 2001 From: Richie Bendall Date: Sat, 2 Jan 2021 00:34:57 +1300 Subject: [PATCH] Move to GitHub Actions (#4) --- .github/workflows/main.yml | 27 +++++++++++++++++++++++++++ .travis.yml | 5 ----- readme.md | 2 +- 3 files changed, 28 insertions(+), 6 deletions(-) create mode 100644 .github/workflows/main.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..43b9bc3 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,27 @@ +name: CI +on: + - push + - pull_request +jobs: + test: + name: Node.js ${{ matrix.node-version }} + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + node-version: + - 14 + - 12 + - 10 + - 8 + - 6 + - 4 + - 0.12 + - 0.1 + 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 2a2f1c6..0000000 --- a/.travis.yml +++ /dev/null @@ -1,5 +0,0 @@ -language: node_js -node_js: - - 'stable' - - '0.12' - - '0.10' diff --git a/readme.md b/readme.md index ca10751..5bebd92 100644 --- a/readme.md +++ b/readme.md @@ -1,4 +1,4 @@ -# filled-array [![Build Status](https://travis-ci.org/sindresorhus/filled-array.svg?branch=master)](https://travis-ci.org/sindresorhus/filled-array) +# filled-array > Returns an array filled with the specified input