mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-02-21 07:29:37 +01:00
22 lines
525 B
YAML
22 lines
525 B
YAML
on:
|
|
workflow_call:
|
|
|
|
jobs:
|
|
ci-lint:
|
|
name: Node Lint
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
- name: Use Node
|
|
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
|
|
with:
|
|
node-version-file: '.nvmrc'
|
|
- name: Install
|
|
run: yarn install --immutable
|
|
- name: Format
|
|
run: yarn format:check
|
|
- name: Lint
|
|
run: yarn lint
|
|
- name: Lint Lockfile
|
|
run: yarn lint:lockfile
|