Skip to content

Commit

Permalink
chore: fix release process
Browse files Browse the repository at this point in the history
  • Loading branch information
robcresswell committed Jan 29, 2020
1 parent dc2fd37 commit dcbc9b7
Show file tree
Hide file tree
Showing 4 changed files with 885 additions and 26 deletions.
23 changes: 0 additions & 23 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,39 +30,16 @@ jobs:
- run:
name: Run snyk
command: npx snyk test
test:
<<: *defaults
steps:
- install_deps
- run:
name: Run tests
command: yarn test
- store_artifacts:
path: reports/coverage
- store_test_results:
path: reports
lint:
<<: *defaults
steps:
- install_deps
- run:
name: Run linting tasks
command: yarn lint
release:
<<: *defaults
steps:
- install_deps
- run: yarn build
- run: npx semantic-release
workflows:
version: 2
test_and_release:
jobs:
- snyk
- test
- lint
- release:
requires:
- snyk
- lint
- test
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
package-lock.json
yarn.lock
node_modules/
4 changes: 2 additions & 2 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"branch": "dev",
"branches": "dev",
"plugins": [
"@semantic-release/commit-analyzer",
[
Expand All @@ -11,4 +11,4 @@
"@semantic-release/npm",
"@semantic-release/release-notes-generator"
]
}
}
Loading

0 comments on commit dcbc9b7

Please sign in to comment.