From 27453b5e49adaaa5419637732c19ab19b502585f Mon Sep 17 00:00:00 2001 From: Richie Bendall Date: Sat, 2 Jan 2021 17:22:29 +1300 Subject: [PATCH] Move to GitHub Actions (#300) --- .github/workflows/main.yml | 24 ++++++++++++++++++++++++ .travis.yml | 7 ------- readme.md | 2 +- 3 files changed, 25 insertions(+), 8 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 00000000..b85fc2a9 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,24 @@ +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 + 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 81f3378f..00000000 --- a/.travis.yml +++ /dev/null @@ -1,7 +0,0 @@ -language: node_js -node_js: - - '14' - - '12' - - '10' - - '8' - - '6' diff --git a/readme.md b/readme.md index 46e58b5b..0914d746 100644 --- a/readme.md +++ b/readme.md @@ -1,4 +1,4 @@ -# query-string [![Build Status](https://travis-ci.com/sindresorhus/query-string.svg?branch=master)](https://travis-ci.com/github/sindresorhus/query-string) [![](https://badgen.net/bundlephobia/minzip/query-string)](https://bundlephobia.com/result?p=query-string) +# query-string > Parse and stringify URL [query strings](https://en.wikipedia.org/wiki/Query_string)