Skip to content

Merge pull request #125 from celo-org/pputman/install-dir-optional #15

Merge pull request #125 from celo-org/pputman/install-dir-optional

Merge pull request #125 from celo-org/pputman/install-dir-optional #15

Workflow file for this run

---
name: 'NPM Publish Workflow'
on:
workflow_call:
inputs:
node-version:
required: true
type: string
registry-url:
required: false
type: string
default: "https://registry.npmjs.org"
package-dir:
required: true
type: string
install-dir:
required: false
type: string

Check failure on line 18 in .github/workflows/npm-publish.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/npm-publish.yaml

Invalid workflow file

You have an error in your yaml syntax on line 18
default: "."
package-access:
required: false
type: string
default: restricted
akeyless-api-gateway:
required: true
type: string
akeyless-github-access-id:
required: true
type: string
akeyless-token-path:
required: true
type: string
check-auth-only:
required: false
default: false
type: boolean
jobs:
npm-publish:
runs-on: ['self-hosted', 'shared-runner']
steps:
- name: 'Checkout'
uses: actions/checkout@v4
- name: Build and publish npm package
uses: celo-org/reusable-workflows/.github/actions/npm-publish@main
with:
node-version: ${{ inputs.node-version }}
package-dir: ${{ inputs.package-dir }}
install-dir: ${{ inputs.install-dir }}
package-access: ${{ inputs.package-access }}
akeyless-api-gateway: ${{ inputs.akeyless-api-gateway }}
akeyless-github-access-id: ${{ inputs.akeyless-github-access-id }}
akeyless-token-path: ${{ inputs.akeyless-token-path }}
check-auth-only: ${{ inputs.check-auth-only }}