diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9bc5037..fc182a6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,8 +1,10 @@ name: Release on: - push: - branches: - - main + workflow_run: + workflows: ['Snyk Security Check'] + branches: [main] + types: + - completed jobs: release: name: Release diff --git a/package.json b/package.json index 4dbb8ca..aaed664 100644 --- a/package.json +++ b/package.json @@ -63,9 +63,7 @@ "mocha": "^10.0.0", "ts-node": "^10.9.1", "typescript": "^4.7.4", - "semantic-release": "^19.0.3" - }, - "dependencies": { + "semantic-release": "^19.0.3", "@types/chai": "^4.3.3", "chai": "^4.3.6" }