mirror of
https://github.com/hashicorp/vault-action.git
synced 2025-11-07 15:16:56 +00:00
parent
6784ab3896
commit
da9a93f3f5
5 changed files with 4758 additions and 2 deletions
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
|
@ -21,6 +21,8 @@ jobs:
|
||||||
node-version: 10.x
|
node-version: 10.x
|
||||||
- name: npm install
|
- name: npm install
|
||||||
run: npm ci
|
run: npm ci
|
||||||
|
- name: npm build
|
||||||
|
run: npm run build
|
||||||
- name: npm run test
|
- name: npm run test
|
||||||
run: npm run test
|
run: npm run test
|
||||||
env:
|
env:
|
||||||
|
|
@ -52,6 +54,8 @@ jobs:
|
||||||
node-version: 10.x
|
node-version: 10.x
|
||||||
- name: npm install
|
- name: npm install
|
||||||
run: npm ci
|
run: npm ci
|
||||||
|
- name: npm build
|
||||||
|
run: npm run build
|
||||||
- name: setup vault
|
- name: setup vault
|
||||||
run: node ./e2e/setup.js
|
run: node ./e2e/setup.js
|
||||||
env:
|
env:
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ inputs:
|
||||||
required: true
|
required: true
|
||||||
runs:
|
runs:
|
||||||
using: 'node12'
|
using: 'node12'
|
||||||
main: 'index.js'
|
main: 'dist/index.js'
|
||||||
branding:
|
branding:
|
||||||
icon: 'unlock'
|
icon: 'unlock'
|
||||||
color: 'gray-dark'
|
color: 'gray-dark'
|
||||||
4744
dist/index.js
vendored
Normal file
4744
dist/index.js
vendored
Normal file
File diff suppressed because it is too large
Load diff
6
package-lock.json
generated
6
package-lock.json
generated
|
|
@ -965,6 +965,12 @@
|
||||||
"integrity": "sha512-gCubfBUZ6KxzoibJ+SCUc/57Ms1jz5NjHe4+dI2krNmU5zCPAphyLJYyTOg06ueIyfj+SaCUqmzun7ImlxDcKg==",
|
"integrity": "sha512-gCubfBUZ6KxzoibJ+SCUc/57Ms1jz5NjHe4+dI2krNmU5zCPAphyLJYyTOg06ueIyfj+SaCUqmzun7ImlxDcKg==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
|
"@zeit/ncc": {
|
||||||
|
"version": "0.20.5",
|
||||||
|
"resolved": "https://registry.npmjs.org/@zeit/ncc/-/ncc-0.20.5.tgz",
|
||||||
|
"integrity": "sha512-XU6uzwvv95DqxciQx+aOLhbyBx/13ky+RK1y88Age9Du3BlA4mMPCy13BGjayOrrumOzlq1XV3SD/BWiZENXlw==",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
"JSONStream": {
|
"JSONStream": {
|
||||||
"version": "1.3.5",
|
"version": "1.3.5",
|
||||||
"resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz",
|
"resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz",
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,9 @@
|
||||||
"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": "dist/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
"build": "ncc build index.js -o dist",
|
||||||
"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"
|
||||||
|
|
@ -41,6 +42,7 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/jest": "^24.0.18",
|
"@types/jest": "^24.0.18",
|
||||||
|
"@zeit/ncc": "^0.20.5",
|
||||||
"jest": "^24.9.0",
|
"jest": "^24.9.0",
|
||||||
"jest-when": "^2.7.0",
|
"jest-when": "^2.7.0",
|
||||||
"semantic-release": "^15.13.24"
|
"semantic-release": "^15.13.24"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue