Skip to content

Commit

Permalink
build: test global add of semantic plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewgallo committed Nov 13, 2024
1 parent b5ca258 commit 7a450c7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ jobs:
run: yarn clean
- name: Build
run: yarn build
- name: Install Semantic Release and plugins
run: yarn global add semantic-release @semantic-release/git @semantic-release/changelog @semantic-release/github @semantic-release/commit-analyzer @semantic-release/release-notes-generator @semantic-release/npm
- run: npx semantic-release $(echo "${{ env.PUBLISH }}")
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"@semantic-release/commit-analyzer": "^13.0.0",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^11.0.1",
"@semantic-release/npm": "^12.0.1",
"@semantic-release/release-notes-generator": "^14.0.1",
"@types/node": "^22.9.0",
"husky": "^9.0.0",
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,7 @@
p-filter "^4.0.0"
url-join "^5.0.0"

"@semantic-release/npm@^12.0.0":
"@semantic-release/npm@^12.0.0", "@semantic-release/npm@^12.0.1":
version "12.0.1"
resolved "https://registry.yarnpkg.com/@semantic-release/npm/-/npm-12.0.1.tgz#ffb47906de95f8dade8fe0480df0a08dbe1b80c9"
integrity sha512-/6nntGSUGK2aTOI0rHPwY3ZjgY9FkXmEHbW9Kr+62NVOsyqpKKeP0lrCH+tphv+EsNdJNmqqwijTEnVWUMQ2Nw==
Expand Down

0 comments on commit 7a450c7

Please sign in to comment.