mirror of
https://github.com/hashicorp/vault-action.git
synced 2025-11-08 15:46:56 +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 }}
|
||||||
|
|
||||||
|
|
|
||||||
5535
package-lock.json
generated
5535
package-lock.json
generated
File diff suppressed because it is too large
Load diff
84
package.json
84
package.json
|
|
@ -1,40 +1,48 @@
|
||||||
{
|
{
|
||||||
"name": "vault-action",
|
"name": "vault-action",
|
||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"description": "A Github Action that allows you to consume vault secrets as secure environment variables.",
|
"description": "A Github Action that allows you to consume vault secrets as secure environment variables.",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"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": {
|
||||||
"repository": {
|
"branch": "master",
|
||||||
"type": "git",
|
"plugins": [
|
||||||
"url": "git+https://github.com/RichiCoder1/vault-action.git"
|
"@semantic-release/commit-analyzer",
|
||||||
},
|
"@semantic-release/release-notes-generator",
|
||||||
"keywords": [
|
"@semantic-release/github"
|
||||||
"hashicorp",
|
],
|
||||||
"vault",
|
"ci": false
|
||||||
"github",
|
},
|
||||||
"actions",
|
"repository": {
|
||||||
"github-actions",
|
"type": "git",
|
||||||
"javascript"
|
"url": "git+https://github.com/RichiCoder1/vault-action.git"
|
||||||
],
|
},
|
||||||
"author": "Richard Simpson <richardsimpson@outlook.com>",
|
"keywords": [
|
||||||
"license": "MIT",
|
"hashicorp",
|
||||||
"bugs": {
|
"vault",
|
||||||
"url": "https://github.com/RichiCoder1/vault-action/issues"
|
"github",
|
||||||
},
|
"actions",
|
||||||
"homepage": "https://github.com/RichiCoder1/vault-action#readme",
|
"github-actions",
|
||||||
"dependencies": {
|
"javascript"
|
||||||
"@actions/core": "^1.1.1",
|
],
|
||||||
"got": "^9.6.0"
|
"author": "Richard Simpson <richardsimpson@outlook.com>",
|
||||||
},
|
"license": "MIT",
|
||||||
"devDependencies": {
|
"bugs": {
|
||||||
"@types/jest": "^24.0.18",
|
"url": "https://github.com/RichiCoder1/vault-action/issues"
|
||||||
"auto": "^7.6.0",
|
},
|
||||||
"jest": "^24.9.0",
|
"homepage": "https://github.com/RichiCoder1/vault-action#readme",
|
||||||
"jest-when": "^2.7.0"
|
"dependencies": {
|
||||||
}
|
"@actions/core": "^1.1.1",
|
||||||
|
"got": "^9.6.0"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"@types/jest": "^24.0.18",
|
||||||
|
"jest": "^24.9.0",
|
||||||
|
"jest-when": "^2.7.0",
|
||||||
|
"semantic-release": "^15.13.24"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue