mirror of
https://github.com/hashicorp/vault-action.git
synced 2025-11-08 23:56:55 +00:00
chore: switch to semantic release
This commit is contained in:
parent
9c822dc25c
commit
42871c7c42
3 changed files with 5167 additions and 454 deletions
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
|
@ -82,7 +82,7 @@ jobs:
|
||||||
run: npm ci
|
run: npm ci
|
||||||
- name: release
|
- name: release
|
||||||
if: success() && endsWith(github.ref, 'master')
|
if: success() && endsWith(github.ref, 'master')
|
||||||
run: npm run release
|
run: npx semantic-release
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
|
|
||||||
5545
package-lock.json
generated
5545
package-lock.json
generated
File diff suppressed because it is too large
Load diff
14
package.json
14
package.json
|
|
@ -7,7 +7,15 @@
|
||||||
"test": "jest",
|
"test": "jest",
|
||||||
"test:integration": "jest -c integration/jest.config.js",
|
"test:integration": "jest -c integration/jest.config.js",
|
||||||
"test:e2e": "jest -c e2e/jest.config.js",
|
"test:e2e": "jest -c e2e/jest.config.js",
|
||||||
"release": "auto shipit"
|
},
|
||||||
|
"release": {
|
||||||
|
"branch": "master",
|
||||||
|
"plugins": [
|
||||||
|
"@semantic-release/commit-analyzer",
|
||||||
|
"@semantic-release/release-notes-generator",
|
||||||
|
"@semantic-release/github"
|
||||||
|
],
|
||||||
|
"ci": false
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
@ -33,8 +41,8 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/jest": "^24.0.18",
|
"@types/jest": "^24.0.18",
|
||||||
"auto": "^7.6.0",
|
|
||||||
"jest": "^24.9.0",
|
"jest": "^24.9.0",
|
||||||
"jest-when": "^2.7.0"
|
"jest-when": "^2.7.0",
|
||||||
|
"semantic-release": "^15.13.24"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue