From 6356eb2a5b3e8b085cfdbf2c1e4f4897badbe348 Mon Sep 17 00:00:00 2001 From: Brendan Forster Date: Sun, 8 Oct 2023 13:58:06 -0300 Subject: [PATCH] use same node version when generating release notes because prebuilds weirdness --- .github/workflows/ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1d53e425b27..332ae1af935 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -221,6 +221,12 @@ jobs: steps: - uses: actions/checkout@v3 + - name: Use Node.js 18.14.0 + uses: actions/setup-node@v3 + with: + node-version: 18.14.0 + cache: yarn + - name: Download all artifacts uses: actions/download-artifact@v3 with: @@ -243,6 +249,7 @@ jobs: - name: Generate release notes run: | + node -v yarn node -r ts-node/register script/generate-release-notes.ts "${{ github.workspace }}/artifacts" "${{ env.RELEASE_TAG_WITHOUT_PREFIX }}" RELEASE_NOTES_FILE=script/release_notes.txt