From f94f9187343783da06a9f2a15694da2a1e7b6606 Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Thu, 3 Jun 2021 17:55:44 +0700 Subject: [PATCH] Require Node.js 12 --- .github/workflows/main.yaml | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index c1870cf7..3b8aa864 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -10,12 +10,12 @@ jobs: fail-fast: false matrix: node-version: + - 16 - 14 - 12 - - 10 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 dd356430..1c8dc32b 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "typings": "dist/index.d.ts", "bin": "dist/cli.js", "engines": { - "node": ">=10" + "node": ">=12" }, "scripts": { "prepublishOnly": "npm run build",