From 9896dac73754b96712a455dd016bbef5f0c27b90 Mon Sep 17 00:00:00 2001 From: Ashish Patel Date: Thu, 6 Feb 2020 00:47:23 +0530 Subject: [PATCH 1/6] Create nodejs.yml --- .github/workflows/nodejs.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/nodejs.yml diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml new file mode 100644 index 0000000..517112f --- /dev/null +++ b/.github/workflows/nodejs.yml @@ -0,0 +1,24 @@ +name: Node.js CI + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [8.x, 10.x, 12.x] + + 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 install + - run: npm run build --if-present + - run: npm test + env: + CI: true From 7fa1c17cc5003cbb6a570f43cb40ec7218b663de Mon Sep 17 00:00:00 2001 From: Ashish Patel Date: Thu, 6 Feb 2020 00:56:50 +0530 Subject: [PATCH 2/6] Update nodejs.yml --- .github/workflows/nodejs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 517112f..720a71d 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -9,7 +9,7 @@ jobs: strategy: matrix: - node-version: [8.x, 10.x, 12.x] + node-version: [8.x, 9.x, 10.x, 11.x, 12.x, 13.x] steps: - uses: actions/checkout@v2 From 29a9a8c0bfff08d3eb10a7923623a02fadf37496 Mon Sep 17 00:00:00 2001 From: Ashish Patel Date: Thu, 6 Feb 2020 01:02:04 +0530 Subject: [PATCH 3/6] Update nodejs.yml --- .github/workflows/nodejs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 720a71d..de4e50a 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -1,4 +1,4 @@ -name: Node.js CI +name: GithubCI on: [push] From f0adda190e46f24fa30d1272bc0c6ef091c3309e Mon Sep 17 00:00:00 2001 From: Ashish Patel Date: Thu, 6 Feb 2020 01:11:52 +0530 Subject: [PATCH 4/6] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a6de38b..7e5ee92 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,9 @@ === CLI for Developers -[![Codacy Badge](https://api.codacy.com/project/badge/Grade/82d29e2a902a4c338228d636f290d9cd)](https://app.codacy.com/gh/codingtools/cdt?utm_source=github.com&utm_medium=referral&utm_content=codingtools/cdt&utm_campaign=Badge_Grade_Dashboard) +![GithubCI](https://github.com/codingtools/cdt/workflows/GithubCI/badge.svg) [![CircleCI](https://circleci.com/gh/codingtools/cdt/tree/release%2Frelease-v0.1.svg?style=shield)](https://circleci.com/gh/codingtools/cdt/tree/release%2Frelease-v0.1) +[![Codacy Badge](https://api.codacy.com/project/badge/Grade/82d29e2a902a4c338228d636f290d9cd)](https://app.codacy.com/gh/codingtools/cdt?utm_source=github.com&utm_medium=referral&utm_content=codingtools/cdt&utm_campaign=Badge_Grade_Dashboard) [![Version](https://img.shields.io/npm/v/@codingtools/cdt)](https://npmjs.org/package/@codingtools/cdt) ![npm](https://img.shields.io/npm/dt/@codingtools/cdt) ![npm](https://img.shields.io/npm/dm/@codingtools/cdt) From 6667ea5bf4f919e61a929a27f0259bdd1b543fae Mon Sep 17 00:00:00 2001 From: Ashish Patel Date: Thu, 6 Feb 2020 01:14:03 +0530 Subject: [PATCH 5/6] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7e5ee92..56497ac 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ === CLI for Developers -![GithubCI](https://github.com/codingtools/cdt/workflows/GithubCI/badge.svg) +[![GithubCI](https://github.com/codingtools/cdt/workflows/GithubCI/badge.svg)](https://github.com/codingtools/cdt/actions?query=workflow%3AGithubCI) [![CircleCI](https://circleci.com/gh/codingtools/cdt/tree/release%2Frelease-v0.1.svg?style=shield)](https://circleci.com/gh/codingtools/cdt/tree/release%2Frelease-v0.1) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/82d29e2a902a4c338228d636f290d9cd)](https://app.codacy.com/gh/codingtools/cdt?utm_source=github.com&utm_medium=referral&utm_content=codingtools/cdt&utm_campaign=Badge_Grade_Dashboard) [![Version](https://img.shields.io/npm/v/@codingtools/cdt)](https://npmjs.org/package/@codingtools/cdt) From caff349d86eca593d65787087f0a7d3a7d6b3761 Mon Sep 17 00:00:00 2001 From: Ashish Patel Date: Thu, 6 Feb 2020 01:15:43 +0530 Subject: [PATCH 6/6] Failing for versions <10.x --- .github/workflows/nodejs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index de4e50a..4220f5c 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -9,7 +9,7 @@ jobs: strategy: matrix: - node-version: [8.x, 9.x, 10.x, 11.x, 12.x, 13.x] + node-version: [10.x, 11.x, 12.x, 13.x] steps: - uses: actions/checkout@v2