OLH-2409 - Create validator script for client registry files #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint and validate client registry | |
on: | |
workflow_call: | |
inputs: | |
gitRef: | |
required: false | |
type: string | |
default: ${{ github.ref }} | |
pull_request: | |
jobs: | |
lint_and_test: | |
name: di-account-management-client-registry | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
defaults: | |
run: | |
working-directory: ./ | |
steps: | |
- uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # pin@v3 | |
- name: Install Node.js | |
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # pin@v3 | |
with: | |
node-version-file: ".nvmrc" | |
- name: Install dependencies | |
run: npm ci | |
- name: Lint | |
run: npm run lint |