Skip to content

Commit

Permalink
fix!: drop node 12 support as it already reached EOL (#4599)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukas Holzer authored Oct 11, 2022
1 parent b75d4a0 commit 98d0d1e
Show file tree
Hide file tree
Showing 22 changed files with 352 additions and 112 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
node-version: ['*']
include:
- os: ubuntu-latest
node-version: '12.20.0'
node-version: '14.16.0'
fail-fast: false
steps:
# Sets an output parameter if this is a release PR
Expand All @@ -37,7 +37,7 @@ jobs:
if: ${{ !steps.release-check.outputs.IS_RELEASE }}
- name: Install npm@7
run: npm install -g npm@7
if: ${{ matrix.node-version == '12.20.0' && !steps.release-check.outputs.IS_RELEASE }}
if: ${{ matrix.node-version == '14.16.0' && !steps.release-check.outputs.IS_RELEASE }}
- name: Install dependencies
run: npm ci
if: ${{ !steps.release-check.outputs.IS_RELEASE }}
Expand All @@ -61,19 +61,19 @@ jobs:
# We test on the oldest supported Node.js version, but only with a
# single combination (Ubuntu)
- os: ubuntu-latest
node-version: '12.20.0'
node-version: '14.16.0'
install-command: npm ci
machine: '0'
- os: ubuntu-latest
node-version: '12.20.0'
node-version: '14.16.0'
install-command: npm ci
machine: '1'
- os: ubuntu-latest
node-version: '12.20.0'
node-version: '14.16.0'
install-command: npm ci
machine: '2'
- os: ubuntu-latest
node-version: '12.20.0'
node-version: '14.16.0'
install-command: npm ci
machine: '3'
# The buildbot pins Netlify Build's dependencies, like `npm ci`.
Expand Down Expand Up @@ -120,7 +120,7 @@ jobs:
if: ${{ !steps.release-check.outputs.IS_RELEASE }}
- name: Install npm@7
run: npm install -g npm@7
if: ${{ matrix.node-version == '12.20.0' && !steps.release-check.outputs.IS_RELEASE }}
if: ${{ matrix.node-version == '14.16.0' && !steps.release-check.outputs.IS_RELEASE }}
- name: Install dependencies
run: ${{ matrix.install-command }}
if: ${{ !steps.release-check.outputs.IS_RELEASE }}
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

[![Coverage Status](https://codecov.io/gh/netlify/build/branch/main/graph/badge.svg)](https://codecov.io/gh/netlify/build)
[![Build](https://github.com/netlify/build/workflows/Build/badge.svg)](https://github.com/netlify/build/actions)
[![CircleCI](https://dl.circleci.com/status-badge/img/gh/netlify/build/tree/main.svg?style=svg)](https://dl.circleci.com/status-badge/redirect/gh/netlify/build/tree/main)

Netlify Build runs the build command and Build Plugins and bundles Netlify Functions.

Expand Down
Loading

0 comments on commit 98d0d1e

Please sign in to comment.