From 8588482692430e59f65d63b3d358ca49f34d6733 Mon Sep 17 00:00:00 2001 From: Haneen Mahdin <72091386+haneenmahd@users.noreply.github.com> Date: Fri, 12 Feb 2021 22:02:40 +0530 Subject: [PATCH 1/3] Added node.js package badge --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 708349c..2a2a23b 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # QUERIES +![Node.js Package](https://github.com/haneenmahd/responsive-web/workflows/Node.js%20Package/badge.svg) ## A Simple npm package for using responsive media screen sizes in your web app. ## Now a Easier way to use media queries in your @@ -169,4 +170,4 @@ Follow me on: - [Instagram](https://instagram.com/haneenmahdin) - [GitHub](https://github.com/haneenmahd) # License -### `responsive-web` is licensed under MIT. \ No newline at end of file +### `responsive-web` is licensed under MIT. From 31674413666f22a93c3711f95dd83fe70921f9bd Mon Sep 17 00:00:00 2001 From: Haneen Mahdin <72091386+haneenmahd@users.noreply.github.com> Date: Wed, 17 Feb 2021 13:23:01 +0530 Subject: [PATCH 2/3] Create node.js.yml --- .github/workflows/node.js.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/node.js.yml diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml new file mode 100644 index 0000000..05a9a9c --- /dev/null +++ b/.github/workflows/node.js.yml @@ -0,0 +1,30 @@ +# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node +# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions + +name: Node.js CI + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [10.x, 12.x, 14.x, 15.x] + # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ + + steps: + - uses: actions/checkout@v2 + - name: Use Node.js ${{ 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 test From 8c61b9ae8a94280bc73364f2ff50a62647be9c9b Mon Sep 17 00:00:00 2001 From: Haneen Mahdin <72091386+haneenmahd@users.noreply.github.com> Date: Wed, 17 Feb 2021 13:24:20 +0530 Subject: [PATCH 3/3] Added NodeJS CI Badge --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 2a2a23b..c28cc1a 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ # QUERIES ![Node.js Package](https://github.com/haneenmahd/responsive-web/workflows/Node.js%20Package/badge.svg) +![Node.js CI](https://github.com/haneenmahd/responsive-web/workflows/Node.js%20CI/badge.svg) ## A Simple npm package for using responsive media screen sizes in your web app. ## Now a Easier way to use media queries in your