5
0
Fork 0
mirror of https://github.com/hashicorp/vault-action.git synced 2025-11-07 15:16:56 +00:00

fix: package action (#3)

Package action output per github docs.
This commit is contained in:
Richard Simpson 2019-10-15 14:00:01 -05:00 committed by GitHub
parent 6784ab3896
commit da9a93f3f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 4758 additions and 2 deletions

View file

@ -21,6 +21,8 @@ jobs:
node-version: 10.x
- name: npm install
run: npm ci
- name: npm build
run: npm run build
- name: npm run test
run: npm run test
env:
@ -52,6 +54,8 @@ jobs:
node-version: 10.x
- name: npm install
run: npm ci
- name: npm build
run: npm run build
- name: setup vault
run: node ./e2e/setup.js
env:

View file

@ -12,7 +12,7 @@ inputs:
required: true
runs:
using: 'node12'
main: 'index.js'
main: 'dist/index.js'
branding:
icon: 'unlock'
color: 'gray-dark'

4744
dist/index.js vendored Normal file

File diff suppressed because it is too large Load diff

6
package-lock.json generated
View file

@ -965,6 +965,12 @@
"integrity": "sha512-gCubfBUZ6KxzoibJ+SCUc/57Ms1jz5NjHe4+dI2krNmU5zCPAphyLJYyTOg06ueIyfj+SaCUqmzun7ImlxDcKg==",
"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": {
"version": "1.3.5",
"resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz",

View file

@ -2,8 +2,9 @@
"name": "vault-action",
"version": "0.1.0",
"description": "A Github Action that allows you to consume vault secrets as secure environment variables.",
"main": "index.js",
"main": "dist/index.js",
"scripts": {
"build": "ncc build index.js -o dist",
"test": "jest",
"test:integration": "jest -c integration/jest.config.js",
"test:e2e": "jest -c e2e/jest.config.js"
@ -41,6 +42,7 @@
},
"devDependencies": {
"@types/jest": "^24.0.18",
"@zeit/ncc": "^0.20.5",
"jest": "^24.9.0",
"jest-when": "^2.7.0",
"semantic-release": "^15.13.24"