Skip to content

Commit

Permalink
Merge pull request #50 from newrelic/rudouglas-patch-1
Browse files Browse the repository at this point in the history
feat: update semantic release with node
  • Loading branch information
aswanson-nr authored Oct 4, 2021
2 parents bb981dd + c834801 commit e8b0091
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,18 +170,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 10.x

- 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 }}-
node-version: 14

- name: Install dependencies
run: npm ci
Expand Down Expand Up @@ -214,7 +203,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
Expand Down

0 comments on commit e8b0091

Please sign in to comment.