Skip to content

Latest commit

 

History

History
23 lines (20 loc) · 772 Bytes

node-validation-matrix.md

File metadata and controls

23 lines (20 loc) · 772 Bytes

Node Validation Matrix

Example with npm

  validation:
    name: Validation
    uses: codingones/github-actions-workflows/.github/workflows/node-validation-matrix.yml@main
    with:
      validation-commands: '["npm run build", "npm run lint.es", "npm run lint.commit", "npm run prettier.check", "npm run test"]'

Example with yarn

  validation:
    name: Validation
    uses: codingones/github-actions-workflows/.github/workflows/node-validation-matrix.yml@main
    with:
      validation-commands: '["yarn build", "yarn lint.es", "yarn lint.commit", "yarn prettier.check", "yarn test", yarn lint.style]'
      package-manager: 'yarn'
      install-dependencies-command: "yarn install --frozen-lockfile"
      cache-dependency-path: "yarn.lock"