From bf53657017c0f26a6c995b6eb8bfe713a75da9d5 Mon Sep 17 00:00:00 2001 From: "CA Vikram Shankar Mathur (vsmathur-onms)" Date: Sat, 30 Nov 2019 20:07:07 +0530 Subject: [PATCH 1/2] Create nodejs.yml --- .github/workflows/nodejs.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 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 00000000..63188989 --- /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] + + 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 ci + npm run build --if-present + npm test + env: + CI: true From a4052acb7e1899added1f2c26225e028f1badbb5 Mon Sep 17 00:00:00 2001 From: "CA Vikram Shankar Mathur (vsmathur-onms)" Date: Sat, 30 Nov 2019 20:07:41 +0530 Subject: [PATCH 2/2] Create nodejs.yml --- nodejs.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 nodejs.yml diff --git a/nodejs.yml b/nodejs.yml new file mode 100644 index 00000000..63188989 --- /dev/null +++ b/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] + + 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 ci + npm run build --if-present + npm test + env: + CI: true