From e748e38edf3fd6d58cb9d67b2e93bcb48cab64c8 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 37cce3e7b08..a215aa32b2e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -226,6 +226,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: @@ -248,6 +254,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