From 4ba90168dcc6c4ee663320952edba04eb9a68395 Mon Sep 17 00:00:00 2001 From: Ruairi Douglas Date: Thu, 30 Sep 2021 12:48:03 +0100 Subject: [PATCH 1/2] feat: update semantic release with node --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f11776f..f45aa27 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -170,7 +170,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v1 with: - node-version: 10.x + node-version: 14 - name: Download Cached Deps id: cache-node-modules @@ -214,7 +214,7 @@ jobs: GIT_COMMITTER_NAME: "nr-opensource-bot" GIT_COMMITTER_EMAIL: "opensource+bot@newrelic.com" GITHUB_TOKEN: ${{ secrets.OPENSOURCE_BOT_TOKEN }} - run: npx semantic-release + run: npx semantic-release@^18.0.0 - name: Re-enable "required_pull_request_reviews" branch protection id: enable-branch-protection From be4c07e8ef2b01022accf5566d10b61a232865ff Mon Sep 17 00:00:00 2001 From: rdouglas Date: Mon, 4 Oct 2021 10:57:08 +0100 Subject: [PATCH 2/2] chore: remove cache dependencies for semantic --- .github/workflows/release.yml | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f45aa27..4323171 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -172,17 +172,6 @@ jobs: with: node-version: 14 - - name: Download Cached Deps - id: cache-node-modules - uses: actions/cache@v1 - env: - cache-name: node-modules - with: - path: ~/.npm - key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} - restore-keys: | - ${{ runner.os }}-${{ env.cache-name }}- - - name: Install dependencies run: npm ci