From d231aaafafffa9e882b80b3acd3c3b28d03b145d Mon Sep 17 00:00:00 2001 From: Peter Kos Date: Thu, 10 Dec 2020 18:27:09 -0500 Subject: [PATCH 1/2] Fix job trigger syntax for build and deploy prod Signed-off-by: Peter Kos --- .github/workflows/build.yml | 4 +++- .github/workflows/deploy-production.yml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 26f6c8d2b..005eb3347 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,7 +5,9 @@ name: CI - Build on: pull_request: - branches: [ master, develop ] + branches: + - master + - develop jobs: build: diff --git a/.github/workflows/deploy-production.yml b/.github/workflows/deploy-production.yml index ab459af85..722046337 100644 --- a/.github/workflows/deploy-production.yml +++ b/.github/workflows/deploy-production.yml @@ -4,7 +4,9 @@ name: Deploy - Production on: - push: master + push: + branches: + - master jobs: deploy-production: From 0cd5607836a7c9d799a8cf41536bfbc50aead487 Mon Sep 17 00:00:00 2001 From: Peter Kos Date: Thu, 10 Dec 2020 18:31:48 -0500 Subject: [PATCH 2/2] Just node 12 Signed-off-by: Peter Kos --- .github/workflows/build.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 005eb3347..e80d7a8c5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,15 +14,11 @@ jobs: runs-on: ubuntu-latest - strategy: - matrix: - node-version: [10.x, 12.x, 14.x] - steps: - uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node-version }} + - name: Use Node.js 12 uses: actions/setup-node@v1 with: - node-version: ${{ matrix.node-version }} + node-version: '12' - run: npm ci - run: npm run build --if-present