From 4256672d590445c4dbf1751c4faa839d77b47321 Mon Sep 17 00:00:00 2001 From: GZ Date: Wed, 15 Jan 2025 14:48:05 -0800 Subject: [PATCH] chore: specify a node version for GHA (#1510) * chore: specify a node version for GHA * chore: specify a node version for GHA --- .github/workflows/integ.yml | 1 + .projenrc.ts | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/integ.yml b/.github/workflows/integ.yml index b9cd39bd..ccdbcb9a 100644 --- a/.github/workflows/integ.yml +++ b/.github/workflows/integ.yml @@ -51,6 +51,7 @@ jobs: uses: actions/setup-node@v4 with: cache: yarn + node-version: "20" - name: Yarn install run: yarn install --frozen-lockfile - name: Run integration tests diff --git a/.projenrc.ts b/.projenrc.ts index 3aed84e8..f5b80494 100644 --- a/.projenrc.ts +++ b/.projenrc.ts @@ -142,7 +142,8 @@ test?.addJob('integ', { name: 'Setup Node.js', uses: 'actions/setup-node@v4', with: { - cache: 'yarn', + 'cache': 'yarn', + 'node-version': '20', }, }, {