From 896cf62e8192b99949cf682e9d8b8e88e28c5b1d Mon Sep 17 00:00:00 2001 From: Evan Hahn Date: Thu, 20 Jun 2024 06:58:23 -0500 Subject: [PATCH] chore: develop on Node 20, CI on 16 and 20 (#185) --- .github/workflows/ci.yml | 2 +- .github/workflows/release.yml | 4 ++-- .nvmrc | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 .nvmrc diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 86da086a..1fe25c12 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,8 +13,8 @@ jobs: matrix: os: [macos-latest, ubuntu-latest, windows-latest] node-version: - - '16.x' - '18.x' + - '20.x' steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ec8fd31e..295caa26 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,10 +28,10 @@ jobs: issues: write pull-requests: write steps: - - name: Use Node.js 18 + - name: Use Node.js 20 uses: actions/setup-node@v3 with: - node-version: 18 + node-version: 20 - uses: nearform-actions/optic-release-automation-action@v4 with: commit-message: 'Release {version}' diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 00000000..209e3ef4 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +20