Skip to content

Commit

Permalink
ci(semantic-release): used npm link to use semantic-release-ms-teams
Browse files Browse the repository at this point in the history
  • Loading branch information
yllieth committed Aug 5, 2022
1 parent 1480082 commit 0f26aaf
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ jobs:
with:
node-version: 16
- run: npm ci
- run: npm link
- run: npm link semantic-release-ms-teams
- run: npm run release -- --dry-run
env:
NPM_TOKEN: ${{secrets.NPM_TOKEN }}
Expand All @@ -49,6 +51,8 @@ jobs:
with:
node-version: 16
- run: npm ci
- run: npm link
- run: npm link semantic-release-ms-teams
- run: npm run release
env:
NPM_TOKEN: ${{secrets.NPM_TOKEN }}
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,7 @@
"eslint-plugin-jest": "^26.7.0",
"jest": "^28.1.3",
"prettier": "^2.7.1",
"semantic-release": "^19.0.3",
"semantic-release-ms-teams": "^2.0.2"
"semantic-release": "^19.0.3"
},
"peerDependencies": {
"semantic-release": "19"
Expand Down
2 changes: 0 additions & 2 deletions release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ const GITHUB = [
const GIT = '@semantic-release/git'

// Publishes release note in a Teams channel (specified in the repository's secrets)
// Note that this referring to the current package, so it will always be using the
// previous version, and not the actual code.
const TEAMS = 'semantic-release-ms-teams'

module.exports = {
Expand Down

0 comments on commit 0f26aaf

Please sign in to comment.