Skip to content

Commit e46571f

Browse files
authored
always npm ci (#48)
1 parent 1191fc5 commit e46571f

File tree

5 files changed

+15
-0
lines changed

5 files changed

+15
-0
lines changed

.github/workflows/markdown-lint-check.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,8 @@ jobs:
3434
node-version: ${{ inputs.node-version }}
3535
cache: ${{ inputs.cache-dependency-manager }}
3636

37+
- name: Install Dependencies
38+
run: npm ci
39+
3740
- name: Lint Check
3841
run: npx markdownlint-cli2@${{ inputs.markdownlint-version }}

.github/workflows/prettier-format-check.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,8 @@ jobs:
3838
node-version: ${{ inputs.node-version }}
3939
cache: ${{ inputs.cache-dependency-manager }}
4040

41+
- name: Install Dependencies
42+
run: npm ci
43+
4144
- name: Check Formatting
4245
run: npx prettier@${{ inputs.prettier-version }} --check ${{ inputs.check-path }}

.github/workflows/redocly-bundle-lint-check.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ jobs:
3838
node-version: ${{ inputs.node-version }}
3939
cache: ${{ inputs.cache-dependency-manager }}
4040

41+
- name: Install Dependencies
42+
run: npm ci
43+
4144
- name: Bundle APIs
4245
run: npx @redocly/cli@${{ inputs.redocly-version }} bundle ${{ inputs.openapi-file }} --output bundled.yaml
4346

.github/workflows/redocly-lint-check.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,8 @@ jobs:
3838
node-version: ${{ inputs.node-version }}
3939
cache: ${{ inputs.cache-dependency-manager }}
4040

41+
- name: Install Dependencies
42+
run: npm ci
43+
4144
- name: Lint Check
4245
run: npx @redocly/cli@${{ inputs.redocly-version }} lint ${{ inputs.apis }}

.github/workflows/spectral-lint-check.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,8 @@ jobs:
3838
node-version: ${{ inputs.node-version }}
3939
cache: ${{ inputs.cache-dependency-manager }}
4040

41+
- name: Install Dependencies
42+
run: npm ci
43+
4144
- name: Lint Check
4245
run: npx @stoplight/spectral-cli@${{ inputs.spectral-version }} lint --fail-severity warn ${{ inputs.file-glob }}

0 commit comments

Comments
 (0)