From 5e8705e0428602c572c24280e79a894884aeeb6b Mon Sep 17 00:00:00 2001 From: ehmicky Date: Fri, 2 Jul 2021 04:35:43 +0200 Subject: [PATCH] Drop support for Node <12 (#79) Co-authored-by: Sindre Sorhus --- .github/workflows/main.yml | 5 ++--- package.json | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 60d0d82..5db7c81 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,16 +10,15 @@ jobs: fail-fast: false matrix: node-version: + - 16 - 14 - 12 - - 10 - - 8 os: - ubuntu-latest - windows-latest steps: - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 + - uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} - run: npm install diff --git a/package.json b/package.json index 09276e3..127bcf3 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "url": "https://sindresorhus.com" }, "engines": { - "node": ">=8" + "node": ">=12" }, "scripts": { "test": "xo && ava && tsd"