Skip to content

Commit

Permalink
fix: remove deps related to release and switch to npx and non-node co…
Browse files Browse the repository at this point in the history
…nfig (#815)
  • Loading branch information
derberg authored Aug 29, 2022
1 parent e598a3b commit b02fea7
Show file tree
Hide file tree
Showing 5 changed files with 16,033 additions and 32,395 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/if-nodejs-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,10 @@ jobs:
name: Install dependencies
run: npm install
- if: steps.packagejson.outputs.exists == 'true'
name: Publish to any of NPM, Github, and Docker Hub
name: Add plugin for conventional commits
run: npm install [email protected]
- if: steps.packagejson.outputs.exists == 'true'
name: Publish to any of NPM, and Github
id: release
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
Expand All @@ -92,7 +95,7 @@ jobs:
GIT_AUTHOR_EMAIL: [email protected]
GIT_COMMITTER_NAME: asyncapi-bot
GIT_COMMITTER_EMAIL: [email protected]
run: npm run release
run: npx semantic-release@19.0.4
- if: failure() # Only, on failure, send a message on the 94_bot-failing-ci slack channel
name: Report workflow run status to Slack
uses: 8398a7/action-slack@v3
Expand All @@ -101,4 +104,4 @@ jobs:
fields: repo,action,workflow
text: 'Release workflow failed in release job'
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_CI_FAIL_NOTIFY }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_CI_FAIL_NOTIFY }}
2 changes: 1 addition & 1 deletion .github/workflows/pr-testing-with-test-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ '12', '14', '15' ]
node: [ '12', '14', '16' ]
steps:
- name: Checkout repository
uses: actions/checkout@v2
Expand Down
10 changes: 10 additions & 0 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
branches:
- master
plugins:
- - "@semantic-release/commit-analyzer"
- preset: conventionalcommits
- - "@semantic-release/release-notes-generator"
- preset: conventionalcommits
- "@semantic-release/npm"
- "@semantic-release/github"
Loading

0 comments on commit b02fea7

Please sign in to comment.