Skip to content

Commit

Permalink
fix: adjust dependencies and release workflow
Browse files Browse the repository at this point in the history
make the release workflow depend on success of the snyk security check
  • Loading branch information
clarkio committed Aug 18, 2022
1 parent 11709a6 commit 41d959d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
name: Release
on:
push:
branches:
- main
workflow_run:
workflows: ['Snyk Security Check']
branches: [main]
types:
- completed
jobs:
release:
name: Release
Expand Down
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down

0 comments on commit 41d959d

Please sign in to comment.