From a2b4ba4294b22c4788ba1a5926435ce5eb223502 Mon Sep 17 00:00:00 2001 From: Zach Leatherman Date: Tue, 30 Apr 2024 11:48:23 -0500 Subject: [PATCH] Breaking: Node 18+ --- .github/workflows/ci.yml | 12 ++++++++---- package.json | 2 +- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fc5b0e9..904fe95 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,16 +1,20 @@ -on: push +name: Node Unit Tests +on: + push: + branches-ignore: + - "gh-pages" jobs: build: runs-on: ${{ matrix.os }} strategy: matrix: os: ["ubuntu-latest", "macos-latest", "windows-latest"] - node: ["14", "16", "18"] + node: ["18", "20", "22"] name: Node.js ${{ matrix.node }} on ${{ matrix.os }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node }} # cache: npm diff --git a/package.json b/package.json index 88934e0..f9dd71a 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ }, "license": "MIT", "engines": { - "node": ">=14" + "node": ">=18" }, "11ty": { "compatibility": ">=3.0.0-alpha"