Skip to content

Commit 53f916f

Browse files
committed
Use single step (in root directory) to install dependencies
1 parent 994858d commit 53f916f

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/pr-checks.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,19 +98,22 @@ jobs:
9898
package-lock.json
9999
pr-checks/package-lock.json
100100
101+
- name: Install dependencies
102+
run: npm ci
103+
101104
- name: Verify PR checks up to date
102105
if: always()
103106
run: .github/workflows/script/verify-pr-checks.sh
104107

105108
- name: Run pr-checks tests
106109
if: always()
107110
working-directory: pr-checks
108-
run: npm ci && npx tsx --test
111+
run: npx tsx --test
109112

110113
- name: Lint
111114
if: always()
112115
working-directory: pr-checks
113-
run: npm ci && npm run lint
116+
run: npm run lint
114117

115118
check-node-version:
116119
if: github.triggering_actor != 'dependabot[bot]'

0 commit comments

Comments
 (0)