about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-06-26 15:07:22 +0000
committerbors <bors@rust-lang.org>2022-06-26 15:07:22 +0000
commitab58276146c652136ece8b5635d5f2f3776646d4 (patch)
tree783b7854025e1e85cdbac0d5f60e188b211c50e1
parent8789f4e88a517dc26e8e47c24afbb49b81cd3721 (diff)
parent11bf291189d00b74e8d179fc9a22796848d330d9 (diff)
downloadrust-ab58276146c652136ece8b5635d5f2f3776646d4.tar.gz
rust-ab58276146c652136ece8b5635d5f2f3776646d4.zip
Auto merge of #9055 - kyoto7250:update_nodejs_in_github_action, r=Manishearth
update node.js version in `remark.yml`

Optional chain (`?.`) is available in `node v14`, but node version in CI is `node v12`, so CI is failed now.

ref:
https://github.com/rust-lang/rust-clippy/runs/7059529735?check_suite_focus=true

optional chain:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Optional_chaining#browser_compatibility

Corresponding PR (maybe)
https://github.com/remarkjs/remark/pull/1007

changelog: None
-rw-r--r--.github/workflows/remark.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/remark.yml b/.github/workflows/remark.yml
index ff471207b65..81ef072bbb0 100644
--- a/.github/workflows/remark.yml
+++ b/.github/workflows/remark.yml
@@ -21,7 +21,7 @@ jobs:
     - name: Setup Node.js
       uses: actions/setup-node@v1.4.4
       with:
-        node-version: '12.x'
+        node-version: '14.x'
 
     - name: Install remark
       run: npm install remark-cli remark-lint remark-lint-maximum-line-length remark-preset-lint-recommended remark-gfm