Skip to content

updating workflow to change default to required #9

updating workflow to change default to required

updating workflow to change default to required #9

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: true
type: string
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

Check failure on line 33 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 33
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 }}