aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorliushuyu <liushuyu011@gmail.com>2022-07-19 22:00:18 -0600
committerliushuyu <liushuyu011@gmail.com>2022-07-28 01:50:30 -0600
commit2a4b58c9b7199e1c2f2e84489a7481a5ec64d472 (patch)
tree98e1316f27ab2ee315346253d08bdb888e4d44af
parent50ca4b2ba0028945fd1a0aefec739ea99f77e908 (diff)
downloadgcc-2a4b58c9b7199e1c2f2e84489a7481a5ec64d472.zip
gcc-2a4b58c9b7199e1c2f2e84489a7481a5ec64d472.tar.gz
gcc-2a4b58c9b7199e1c2f2e84489a7481a5ec64d472.tar.bz2
CI: fix remark installation pre-condition ...
... update Node.js to the latest LTS branch
-rw-r--r--.github/workflows/Remark.yml10
1 files changed, 5 insertions, 5 deletions
diff --git a/.github/workflows/Remark.yml b/.github/workflows/Remark.yml
index 7b13967..b3b04f9 100644
--- a/.github/workflows/Remark.yml
+++ b/.github/workflows/Remark.yml
@@ -15,16 +15,16 @@ jobs:
steps:
# Setup
- name: Checkout
- uses: actions/checkout@v2.3.3
+ uses: actions/checkout@v3
- name: Setup Node.js
- uses: actions/setup-node@v1.4.4
+ uses: actions/setup-node@v3
with:
- node-version: '12.x'
+ node-version: '16.x'
- name: Install remark
run: npm install remark-cli remark-lint remark-lint-maximum-line-length remark-preset-lint-recommended remark-gfm
# Run
- # - name: Check *.md files
- # run: git ls-files -z *.md | xargs -0 -n 1 npx remark -u lint -f > /dev/null
+ - name: Check *.md files
+ run: git ls-files -z *.md | xargs -0 -n 1 npx remark -u lint -f > /dev/null