Skip to content

Commit 31ee7f5

Browse files
committed
Install dependencies in PR checks
1 parent 6d34e4e commit 31ee7f5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/pr-checks.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,12 @@ jobs:
2121
- name: Checkout
2222
uses: actions/checkout@v5
2323

24+
- name: Install dependencies
25+
run: npm install
26+
2427
- name: Lint
2528
id: lint
26-
run: npm run-script lint-ci
29+
run: npm run lint-ci
2730

2831
- name: Upload sarif
2932
uses: github/codeql-action/upload-sarif@v3
@@ -74,6 +77,7 @@ jobs:
7477
# Run any commands referenced in package.json using Bash, otherwise
7578
# we won't be able to find them on Windows.
7679
npm config set script-shell bash
80+
npm install
7781
npm test
7882
7983
check-node-version:

0 commit comments

Comments
 (0)