From 6373bc726fbabd0179152314997b34532b285a8b Mon Sep 17 00:00:00 2001 From: edX requirements bot <49161187+edx-requirements-bot@users.noreply.github.com> Date: Mon, 16 May 2022 11:57:50 -0400 Subject: [PATCH] chore!: Dropped support for Node 12 (#216) BREAKING CHANGE: Dropped support for Node 12 --- .github/workflows/ci.yml | 6 ++-- .github/workflows/release.yml | 60 +++++++++++++++++------------------ 2 files changed, 33 insertions(+), 33 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ebf0f92..3413daf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,16 +2,16 @@ name: Default CI on: push: branches: - - 'master' + - master pull_request: branches: - - '**' + - '**' jobs: tests: runs-on: ubuntu-latest strategy: matrix: - node: [12, 14, 16] + node: [16] steps: - name: Checkout uses: actions/checkout@v2 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4a459f5..8858b6c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,38 +2,38 @@ name: Release CI on: push: branches: - - master + - master jobs: release: name: Release runs-on: ubuntu-latest steps: - - name: Checkout - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: Setup Node.js - uses: actions/setup-node@v2 - with: - node-version: 12 - - name: Install dependencies - run: npm ci - - name: Validate package-lock.json changes - run: make validate-no-uncommitted-package-lock-changes - - name: Lint - run: npm run lint - - name: Test - run: npm run test - - name: i18n_extract - run: npm run i18n_extract - - name: Coverage - uses: codecov/codecov-action@v2 - - name: Build - run: npm run build - - name: Release - uses: cycjimmy/semantic-release-action@v2 - with: - semantic_version: 16 - env: - GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_GITHUB_TOKEN }} - NPM_TOKEN: ${{ secrets.SEMANTIC_RELEASE_NPM_TOKEN }} + - name: Checkout + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Setup Node.js + uses: actions/setup-node@v2 + with: + node-version: 16 + - name: Install dependencies + run: npm ci + - name: Validate package-lock.json changes + run: make validate-no-uncommitted-package-lock-changes + - name: Lint + run: npm run lint + - name: Test + run: npm run test + - name: i18n_extract + run: npm run i18n_extract + - name: Coverage + uses: codecov/codecov-action@v2 + - name: Build + run: npm run build + - name: Release + uses: cycjimmy/semantic-release-action@v2 + with: + semantic_version: 16 + env: + GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_GITHUB_TOKEN }} + NPM_TOKEN: ${{ secrets.SEMANTIC_RELEASE_NPM_TOKEN }}