mirror of
https://github.com/nodejs/node.git
synced 2026-11-29 14:27:57 -05:00
tools,build: update YAML files in preparation for linting
Fix indentation, traiiling spaces, and missing newline issues in preparation for linting. PR-URL: https://github.com/nodejs/node/pull/40007 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com>
This commit is contained in:
1 parent
0b30867c08
commit
99af21292f
5 files changed
+16
-16
No files matched your search
@@ -12,7 +12,7 @@ jobs:
|
||||
steps:
|
||||
- name: Post stalled comment
|
||||
env:
|
||||
COMMENTS_URL: ${{ github.event.issue.comments_url || github.event.pull_request.comments_url }}
|
||||
COMMENTS_URL: ${{ github.event.issue.comments_url || github.event.pull_request.comments_url }}
|
||||
run: |
|
||||
curl -X POST $COMMENTS_URL \
|
||||
-H "Content-Type: application/json" \
|
||||
|
||||
@@ -45,7 +45,7 @@ jobs:
|
||||
- name: Report JS
|
||||
run: npx c8 report --check-coverage
|
||||
env:
|
||||
NODE_OPTIONS: --max-old-space-size=8192
|
||||
NODE_OPTIONS: --max-old-space-size=8192
|
||||
- name: Report C++
|
||||
run: cd out && gcovr --gcov-exclude='.*\b(deps|usr|out|obj|cctest|embedding)\b' -v -r Release/obj.target --xml -o ../coverage/coverage-cxx.xml --root=$(cd ../ && pwd)
|
||||
# Clean temporary output from gcov and c8, so that it's not uploaded:
|
||||
|
||||
@@ -13,7 +13,7 @@ env:
|
||||
|
||||
jobs:
|
||||
find:
|
||||
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
|
||||
@@ -11,16 +11,16 @@ jobs:
|
||||
if: ${{ github.event.forced && github.repository == 'nodejs/node' }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Slack Notification
|
||||
uses: rtCamp/action-slack-notify@master
|
||||
env:
|
||||
SLACK_COLOR: '#DE512A'
|
||||
SLACK_ICON: https://github.com/nodejs.png?size=48
|
||||
SLACK_TITLE: '${{ github.actor }} force-pushed to ${{ github.ref }}'
|
||||
SLACK_MESSAGE: |
|
||||
A commit was force-pushed to <https://github.com/${{ github.repository }}/tree/${{ github.repository.default_branch }}|${{ github.repository }}@${{ github.repository.default_branch }}> by <https://github.com/${{ github.actor }}|${{ github.actor }}>
|
||||
- name: Slack Notification
|
||||
uses: rtCamp/action-slack-notify@master
|
||||
env:
|
||||
SLACK_COLOR: '#DE512A'
|
||||
SLACK_ICON: https://github.com/nodejs.png?size=48
|
||||
SLACK_TITLE: '${{ github.actor }} force-pushed to ${{ github.ref }}'
|
||||
SLACK_MESSAGE: |
|
||||
A commit was force-pushed to <https://github.com/${{ github.repository }}/tree/${{ github.repository.default_branch }}|${{ github.repository }}@${{ github.repository.default_branch }}> by <https://github.com/${{ github.actor }}|${{ github.actor }}>
|
||||
|
||||
Before: <https://github.com/${{ github.repository }}/commit/${{ github.event.before }}|${{ github.event.before }}>
|
||||
After: <https://github.com/${{ github.repository }}/commit/${{ github.event.after }}|${{ github.event.after }}>
|
||||
SLACK_USERNAME: nodejs-bot
|
||||
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
|
||||
Before: <https://github.com/${{ github.repository }}/commit/${{ github.event.before }}|${{ github.event.before }}>
|
||||
After: <https://github.com/${{ github.repository }}/commit/${{ github.event.after }}|${{ github.event.after }}>
|
||||
SLACK_USERNAME: nodejs-bot
|
||||
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
|
||||
+1
-1
@@ -8,7 +8,7 @@ rules:
|
||||
no-var: error
|
||||
prefer-const: error
|
||||
symbol-description: off
|
||||
multiline-comment-style: ["error", "separate-lines"]
|
||||
multiline-comment-style: ["error", "separate-lines"]
|
||||
|
||||
no-restricted-syntax:
|
||||
# Config copied from .eslintrc.js
|
||||
|
||||
Reference in new issue
Block a user