Skip to content

Commit 8c0a211

Browse files
authored
Merge pull request #58 from newrelic/rudouglas-patch-1
feat: update semantic release with node
2 parents 62d635d + 233bab4 commit 8c0a211

1 file changed

Lines changed: 2 additions & 13 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -170,18 +170,7 @@ jobs:
170170
- name: Setup Node.js
171171
uses: actions/setup-node@v1
172172
with:
173-
node-version: 10.x
174-
175-
- name: Download Cached Deps
176-
id: cache-node-modules
177-
uses: actions/cache@v1
178-
env:
179-
cache-name: node-modules
180-
with:
181-
path: ~/.npm
182-
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
183-
restore-keys: |
184-
${{ runner.os }}-${{ env.cache-name }}-
173+
node-version: 14
185174

186175
- name: Install dependencies
187176
run: npm ci
@@ -214,7 +203,7 @@ jobs:
214203
GIT_COMMITTER_NAME: "nr-opensource-bot"
215204
GIT_COMMITTER_EMAIL: "opensource+bot@newrelic.com"
216205
GITHUB_TOKEN: ${{ secrets.OPENSOURCE_BOT_TOKEN }}
217-
run: npx semantic-release
206+
run: npx semantic-release@^18.0.0
218207

219208
- name: Re-enable "required_pull_request_reviews" branch protection
220209
id: enable-branch-protection

0 commit comments

Comments
 (0)