Skip to content

Commit 4d03f13

Browse files
Debugg steps
1 parent bf8a612 commit 4d03f13

File tree

1 file changed

+18
-7
lines changed

1 file changed

+18
-7
lines changed

.github/workflows/lint.yaml

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,26 @@ jobs:
1111
lint:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v4
15-
- uses: actions/setup-node@v4
14+
- name: Checkout the code
15+
uses: actions/checkout@v4
16+
17+
- name: Set up Node.js
18+
uses: actions/setup-node@v4
1619
with:
1720
node-version: "lts/*"
18-
- uses: actions/cache@v4
19-
with:
20-
path: |
21-
~/.npm
22-
- run: npm install -g jsonld-lint
21+
22+
- name: Install jsonld-lint
23+
run: |
24+
npm install -g jsonld-lint
25+
npm list -g --depth=0
26+
27+
- name: Debug environment variables and paths
28+
run: |
29+
echo "PATH: $PATH"
30+
echo "npm bin global path: $(npm bin -g)"
31+
ls -al $(npm bin -g)
32+
which jsonld-lint # Check if jsonld-lint is found
33+
2334
- name: Run JSON-LD lint checks on each .jsonld file
2435
run: |
2536
for file in ./data/software-tools/*.json; do

0 commit comments

Comments
 (0)