diff options
author | Antoine du Hamel <duhamelantoine1995@gmail.com> | 2021-02-05 02:12:31 +0300 |
---|---|---|
committer | Antoine du Hamel <duhamelantoine1995@gmail.com> | 2021-03-06 20:47:05 +0300 |
commit | 8de1e19cabe514c5f52dce72c1932eeacdfe8b70 (patch) | |
tree | 065dc332a9e97fc05907f24f4bf6ed7c02eb61f0 /.github | |
parent | 2e1e74e9f8b57e9f3b00fb667fe517649c117673 (diff) |
tools: check version number in YAML comments from changelogs
PR-URL: https://github.com/nodejs/node/pull/37599
Refs: https://github.com/nodejs/remark-preset-lint-node/pull/172
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/linters.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml index 9bb9cd14bc1..e9a46ca3176 100644 --- a/.github/workflows/linters.yml +++ b/.github/workflows/linters.yml @@ -50,10 +50,16 @@ jobs: node-version: ${{ env.NODE_VERSION }} - name: Environment Information run: npx envinfo + - name: Get release version numbers + id: get-released-versions + run: ./tools/node-lint-md-cli-rollup/src/list-released-versions-from-changelogs.mjs - name: Lint docs run: | echo "::add-matcher::.github/workflows/remark-lint-problem-matcher.json" NODE=$(command -v node) make lint-md + env: + NODE_RELEASED_VERSIONS: ${{ steps.get-released-versions.outputs.NODE_RELEASED_VERSIONS }} + lint-js: if: github.event.pull_request.draft == false runs-on: ubuntu-latest |