-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrelease.config.cjs
More file actions
40 lines (38 loc) · 907 Bytes
/
release.config.cjs
File metadata and controls
40 lines (38 loc) · 907 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/**
* DO NOT CHANGE. This file is being managed from a central repository
* To know more simply visit https://github.com/honestbank/.github/blob/main/docs/about.md
*/
// eslint-disable-next-line @typescript-eslint/no-unused-vars
class SemanticReleaseError extends Error {
constructor(message, code, details) {
super()
Error.captureStackTrace(this, this.constructor)
this.name = 'SemanticReleaseError'
this.details = details
this.code = code
this.semanticRelease = true
}
}
module.exports = {
branches: [{ name: 'main' }],
plugins: [
'@semantic-release/commit-analyzer',
[
'@semantic-release/npm',
{
npmPublish: true,
},
],
],
verifyConditions: ['@semantic-release/github'],
prepare: [],
publish: [
'@semantic-release/github',
[
'@semantic-release/npm',
{
npmPublish: true,
},
],
],
}