From 7ab7a4eac21bfd3c98bf8836c3dccca9c56a41e4 Mon Sep 17 00:00:00 2001 From: Rod Vagg Date: Tue, 12 Sep 2023 11:11:42 +1000 Subject: [PATCH] fix: make semantic-release work again --- .github/workflows/test-and-release.yml | 11 ----------- package.json | 10 +++++++++- 2 files changed, 9 insertions(+), 12 deletions(-) diff --git a/.github/workflows/test-and-release.yml b/.github/workflows/test-and-release.yml index bc407bf..b90d5cf 100644 --- a/.github/workflows/test-and-release.yml +++ b/.github/workflows/test-and-release.yml @@ -44,17 +44,6 @@ jobs: - name: Build run: | npm run build - - name: Install plugins - run: | - npm install \ - @semantic-release/commit-analyzer \ - conventional-changelog-conventionalcommits \ - @semantic-release/release-notes-generator \ - @semantic-release/npm \ - @semantic-release/github \ - @semantic-release/git \ - @semantic-release/changelog \ - --no-progress --no-package-lock --no-save - name: Release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/package.json b/package.json index 4691039..14c9fb6 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/rvagg/cborg.git" + "url": "git@github.com:rvagg/cborg.git" }, "keywords": [ "cbor" @@ -28,14 +28,22 @@ "author": "Rod (http://r.va.gg/)", "license": "Apache-2.0", "devDependencies": { + "@semantic-release/changelog": "^6.0.3", + "@semantic-release/commit-analyzer": "^10.0.4", + "@semantic-release/git": "^10.0.1", + "@semantic-release/github": "^9.0.5", + "@semantic-release/npm": "^10.0.5", + "@semantic-release/release-notes-generator": "^11.0.7", "@types/chai": "^4.3.6", "@types/mocha": "^10.0.1", "@types/node": "^20.5.9", "c8": "^8.0.1", "chai": "^4.3.8", + "conventional-changelog-conventionalcommits": "^6.1.0", "ipld-garbage": "^5.0.0", "mocha": "^10.2.0", "polendina": "^3.2.1", + "semantic-release": "^21.1.1", "standard": "^17.1.0", "typescript": "^5.2.2" },