Skip to content

Commit 05dd0b1

Browse files
committed
fix: CI quality workflow — remove npm cache and use npm install
Lockfiles are gitignored so setup-node cache: npm fails (no package-lock.json). Switch from npm ci to npm install since there's no lockfile to enforce.
1 parent 74f995f commit 05dd0b1

1 file changed

Lines changed: 4 additions & 8 deletions

File tree

.github/workflows/quality.yaml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,9 @@ jobs:
2525
uses: actions/setup-node@v4
2626
with:
2727
node-version-file: ".nvmrc"
28-
cache: "npm"
2928

3029
- name: Install dependencies
31-
run: npm ci
30+
run: npm install
3231

3332
- name: Prettier format check
3433
run: npm run format:check
@@ -43,10 +42,9 @@ jobs:
4342
uses: actions/setup-node@v4
4443
with:
4544
node-version-file: ".nvmrc"
46-
cache: "npm"
4745

4846
- name: Install dependencies
49-
run: npm ci
47+
run: npm install
5048

5149
- name: ESLint
5250
run: npm run lint
@@ -61,10 +59,9 @@ jobs:
6159
uses: actions/setup-node@v4
6260
with:
6361
node-version-file: ".nvmrc"
64-
cache: "npm"
6562

6663
- name: Install dependencies
67-
run: npm ci
64+
run: npm install
6865

6966
- name: markdownlint
7067
run: npm run lint:md
@@ -79,10 +76,9 @@ jobs:
7976
uses: actions/setup-node@v4
8077
with:
8178
node-version-file: ".nvmrc"
82-
cache: "npm"
8379

8480
- name: Install dependencies
85-
run: npm ci
81+
run: npm install
8682

8783
- name: Validate YAML schemas
8884
run: npm run validate:schemas

0 commit comments

Comments
 (0)