File tree Expand file tree Collapse file tree 1 file changed +7
-20
lines changed
Expand file tree Collapse file tree 1 file changed +7
-20
lines changed Original file line number Diff line number Diff line change @@ -11,28 +11,15 @@ jobs:
1111 lint :
1212 runs-on : ubuntu-latest
1313 steps :
14- - name : Checkout the code
15- uses : actions/checkout@v4
16-
17- - name : Set up Node.js
18- uses : actions/setup-node@v4
14+ - uses : actions/checkout@v4
15+ - uses : actions/setup-node@v4
1916 with :
2017 node-version : " lts/*"
21-
22- - name : Install jsonld-lint
23- run : |
24- npm install -g jsonld-lint
25- npm list -g --depth=0
26- echo "npm bin path: $(npm bin -g)"
27- which jsonld-lint || echo "jsonld-lint not found"
28-
29- - name : Debug environment variables and paths
30- run : |
31- echo "PATH: $PATH"
32- echo "npm bin global path: $(npm bin -g)"
33- ls -al $(npm bin -g)
34- which jsonld-lint
35-
18+ - uses : actions/cache@v4
19+ with :
20+ path : |
21+ ~/.npm
22+ - run : npm install -g jsonld-lint
3623 - name : Run JSON-LD lint checks on each .jsonld file
3724 run : |
3825 for file in ./data/software-tools/*.json; do
You can’t perform that action at this time.
0 commit comments