From d4bddf51f302acbd9fc8f675a26a9360d6aa6ab4 Mon Sep 17 00:00:00 2001 From: Matt Simerson Date: Tue, 20 Aug 2019 16:38:00 -0700 Subject: [PATCH 1/2] Update nodejs.yml --- .github/workflows/nodejs.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 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..9907d7a --- /dev/null +++ b/.github/workflows/nodejs.yml @@ -0,0 +1,25 @@ +name: Node CI + +on: [push, pull_request] + +jobs: + build: + + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [8, 10, 12] + + 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, lint, and test + run: | + npm install + npm run build --if-present + npm run lint + npm test From b83122ca5f02eb9c4996a88be7759fba704d87de Mon Sep 17 00:00:00 2001 From: Matt Simerson Date: Tue, 20 Aug 2019 16:38:42 -0700 Subject: [PATCH 2/2] 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 9907d7a..0265e9f 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -1,6 +1,6 @@ name: Node CI -on: [push, pull_request] +on: [push] jobs: build: