From bffaaba8bc4fdb9583050d3a88135bdeaaccff0b Mon Sep 17 00:00:00 2001 From: Agustin Colchado Date: Mon, 4 Dec 2023 22:26:44 -0800 Subject: [PATCH] Switches testing and the build pipeline to node 20 (#68) The start of verifying that all of the spur tooling works with node 20. We don't transpile so it's mainly for testing purposes. Will still verify with node 16, and 18. --- .github/workflows/npm-publish.yml | 2 +- .github/workflows/pull-request.yml | 2 +- .nvmrc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index da26af6..cd28407 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -10,7 +10,7 @@ jobs: # Setup .npmrc file to publish to npm - uses: actions/setup-node@v3 with: - node-version: '18.x' + node-version: '20.x' registry-url: 'https://registry.npmjs.org' - run: npm ci - run: npm publish diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index d1d505b..62cef7f 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: - node-version: [16.x, 18.x] + node-version: [16.x, 18.x, 20.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: diff --git a/.nvmrc b/.nvmrc index 3c03207..209e3ef 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -18 +20