From 5fae5a2c104d648ad14747de6a76a04dcf3c7e00 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 1ccaec744ae..d09e6584255 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -228,6 +228,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: @@ -250,6 +256,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