Skip to content

Commit 1986cbf

Browse files
committed
Cherry pick vmware-tanzu#182
Signed-off-by: Lubron Zhan <[email protected]>
1 parent 53caa07 commit 1986cbf

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
@@ -26,9 +26,9 @@ jobs:
2626
run: cd hack/tools && make golangci-lint
2727

2828
- name: Install npm
29-
uses: actions/setup-node@v2
29+
uses: actions/setup-node@v4
3030
with:
31-
node-version: '14'
31+
node-version: '20'
3232

3333
- name: Install markdown-lint tool
3434
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
@@ -189,7 +189,7 @@ lint-markdown: ## Lint the project's markdown
189189
ifdef GITHUB_ACTIONS
190190
markdownlint -c md-config.json .
191191
else
192-
docker run -i --rm -v "$$(pwd)":/work $(CACHE_IMAGE_REGISTRY)/tmknom/markdownlint -c /work/md-config.json .
192+
docker run -i --rm -v "$$(pwd)":/work ghcr.io/tmknom/dockerfiles/markdownlint -c /work/md-config.json .
193193
endif
194194

195195
.PHONY: lint-shell

0 commit comments

Comments
 (0)