From 29789ee19decac0ee1896d364a2e0dd4517bb446 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 c5442e49938..82da0522ec3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -217,6 +217,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: @@ -239,6 +245,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