diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..da7b845 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1 @@ +github: arshadkazmi42 diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml new file mode 100644 index 0000000..4fb73b6 --- /dev/null +++ b/.github/workflows/nodejs.yml @@ -0,0 +1,26 @@ +name: Node CI + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [8.x, 10.x, 12.x, 14.x, 16.x] + + steps: + - uses: actions/checkout@v1 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - name: npm install, build, and test + run: | + npm install + npm run build --if-present + npm test + env: + CI: true diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 4796715..0000000 --- a/.travis.yml +++ /dev/null @@ -1,3 +0,0 @@ -language: node_js -node_js: - - "node" \ No newline at end of file diff --git a/README.md b/README.md index 9f231fe..53bf9c6 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # search-a-tags -[![Build Status](https://travis-ci.com/arshadkazmi42/search-a-tags.svg?branch=master)](https://travis-ci.com/arshadkazmi42/search-a-tags) +[![Build](https://github.com/arshadkazmi42/search-a-tags/actions/workflows/nodejs.yml/badge.svg)](https://github.com/arshadkazmi42/search-a-tags/actions/workflows/nodejs.yml) Search `` tags of HTML from HTML content