From 15a0946d8d0b2c444b784f2285c30558882efa2b Mon Sep 17 00:00:00 2001 From: edX requirements bot Date: Thu, 10 Feb 2022 08:10:35 -0500 Subject: [PATCH 1/2] build: Added support for node v16 --- .github/workflows/ci.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6aa1b9b..4d2b99e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,8 +1,11 @@ name: Default CI on: [push, pull_request] jobs: - build: + tests: runs-on: ubuntu-latest + strategy: + matrix: + node: [12, 14, 16] steps: - name: Checkout uses: actions/checkout@v2 @@ -11,7 +14,7 @@ jobs: - name: Setup Nodejs uses: actions/setup-node@v2 with: - node-version: 12 + node-version: ${{ matrix.node }} - name: Install dependencies run: npm ci - name: Validate package-lock.json changes From 1f8e64e4540e45d15eacdb64cacc969957d98a1d Mon Sep 17 00:00:00 2001 From: Jawayria <39649635+Jawayria@users.noreply.github.com> Date: Thu, 10 Feb 2022 18:12:24 +0500 Subject: [PATCH 2/2] fix: update events --- .github/workflows/ci.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4d2b99e..1180230 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,5 +1,11 @@ name: Default CI -on: [push, pull_request] +on: + push: + branches: + - 'master' + pull_request: + branches: + - '**' jobs: tests: runs-on: ubuntu-latest