Skip to content

Commit 12a35d3

Browse files
committed
Update node version
Signed-off-by: Lubron Zhan <[email protected]>
1 parent 3046d4a commit 12a35d3

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/actions.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ jobs:
2727
run: cd hack/tools && make golangci-lint
2828

2929
- name: Install npm
30-
uses: actions/setup-node@v2
30+
uses: actions/setup-node@v4
3131
with:
32-
node-version: '14'
32+
node-version: '20'
3333

3434
- name: Install markdown-lint tool
3535
run: npm install -g markdownlint-cli

.github/workflows/push.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ jobs:
2121
run: cd hack/tools && make golangci-lint
2222

2323
- name: Install npm
24-
uses: actions/setup-node@v2
24+
uses: actions/setup-node@v4
2525
with:
26-
node-version: '14'
26+
node-version: '20'
2727

2828
- name: Install markdown-lint tool
2929
run: npm install -g markdownlint-cli

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ lint-markdown: ## Lint the project's markdown
180180
ifdef GITHUB_ACTIONS
181181
markdownlint -c md-config.json .
182182
else
183-
docker run -i --rm -v "$$(pwd)":/work $(CACHE_IMAGE_REGISTRY)/tmknom/markdownlint -c /work/md-config.json .
183+
docker run -i --rm -v "$$(pwd)":/work ghcr.io/tmknom/dockerfiles/markdownlint -c /work/md-config.json .
184184
endif
185185

186186
.PHONY: lint-shell

0 commit comments

Comments
 (0)