Skip to content

Commit e7e5f49

Browse files
committedJan 8, 2024
Properly setup node
1 parent 67c1a13 commit e7e5f49

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed
 

‎.github/workflows/markdown_link_check.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: Check Markdown links
2+
# See https://github.com/UmbrellaDocs/linkspector
23

34
on:
45
push:
@@ -23,11 +24,9 @@ jobs:
2324
runs-on: ubuntu-latest
2425
steps:
2526
- uses: actions/checkout@master
27+
- uses: actions/setup-node@v4
2628
- name: Install dependencies
27-
run: |
28-
apt-get install npm
29-
# See https://github.com/UmbrellaDocs/linkspector
30-
npm install -g @umbrelladocs/linkspector
29+
run: npm install -g @umbrelladocs/linkspector
3130
- name: Check links
3231
run: |
3332
# Generate default configuration file if it doesn't exist.

0 commit comments

Comments
 (0)
Please sign in to comment.