From f39824c2e5fc428622ace6b8b544a148bf4954b8 Mon Sep 17 00:00:00 2001 From: William Chong Date: Thu, 2 May 2024 12:22:49 +0400 Subject: [PATCH] Tests are now run using node LTS --- .github/files/.nvmrc | 2 +- .github/workflows/test_ee.yml | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/files/.nvmrc b/.github/files/.nvmrc index 25bf17fc..1a2f5bd2 100644 --- a/.github/files/.nvmrc +++ b/.github/files/.nvmrc @@ -1 +1 @@ -18 \ No newline at end of file +lts/* \ No newline at end of file diff --git a/.github/workflows/test_ee.yml b/.github/workflows/test_ee.yml index 613b4a54..63731879 100644 --- a/.github/workflows/test_ee.yml +++ b/.github/workflows/test_ee.yml @@ -24,7 +24,7 @@ jobs: EVENTSTORE_VERSION: "24.2.0-jammy" runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Connect to tailscale if: ${{ matrix.group.tailscale && env.SECRETS_AVAILABLE == 'true' }} run: | @@ -33,10 +33,11 @@ jobs: sudo apt-get update sudo apt-get install tailscale sudo tailscale up --authkey ${{ secrets.TAILSCALE_AUTH }} --hostname "node-client-ci-${{ env.EVENTSTORE_VERSION }}-$(date +'%Y-%m-%d-%H-%M-%S')" --advertise-tags=tag:ci --accept-routes - - name: Setup Node - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: - node-version: "14.x" + node-version-file: .github/files/.nvmrc + - name: NodeJS version + run: node -v - name: Login to Cloudsmith uses: docker/login-action@v3 with: