From a1192d328ecbe1be7b733c7e0be23361fa650725 Mon Sep 17 00:00:00 2001 From: Francis Charette-Migneault Date: Thu, 18 Apr 2024 00:26:41 -0400 Subject: [PATCH] update node in CI and reapply remark-gfm --- .github/remark.yaml | 2 ++ .github/workflows/test.yaml | 5 ++++- package.json | 1 + 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/remark.yaml b/.github/remark.yaml index 53722d7..a58537b 100644 --- a/.github/remark.yaml +++ b/.github/remark.yaml @@ -14,6 +14,8 @@ plugins: - remark-lint-no-consecutive-blank-lines - - remark-lint-maximum-line-length - 120 +# GFM - autolink literals, footnotes, strikethrough, tables, tasklist + - remark-gfm # Code - remark-lint-fenced-code-flag - remark-lint-fenced-code-marker diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index d44317b..bddc2c4 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -5,9 +5,12 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [14.x] + node-version: [16] steps: - uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + cache: npm - uses: actions/checkout@v2 - run: | npm install diff --git a/package.json b/package.json index 7f4abe5..da64d8c 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,7 @@ "remark-cli": "^8.0.0", "remark-lint": "^7.0.0", "remark-lint-no-html": "^2.0.0", + "remark-gfm": "^4.0.0", "remark-preset-lint-consistent": "^3.0.0", "remark-preset-lint-markdown-style-guide": "^3.0.0", "remark-preset-lint-recommended": "^4.0.0",