From: Tim Düsterhus Date: Tue, 31 May 2022 14:52:13 +0000 (+0200) Subject: Drop useless javascript.yml workflow X-Git-Tag: 5.5.0_RC_1~2^2 X-Git-Url: https://git.stricted.de/?p=GitHub%2FWoltLab%2Fcom.woltlab.wcf.legalNotice.git;a=commitdiff_plain;h=66ce98e1602000727b0c7b0338cddf56fa9797e6 Drop useless javascript.yml workflow --- diff --git a/.github/workflows/javascript.yml b/.github/workflows/javascript.yml deleted file mode 100644 index 0cf8a5d..0000000 --- a/.github/workflows/javascript.yml +++ /dev/null @@ -1,32 +0,0 @@ -name: JavaScript - -on: - push: - branches: - - "5.2" - - "5.3" - - "5.4" - - master - pull_request: - -jobs: - syntax: - name: "Check Syntax" - runs-on: ubuntu-latest - strategy: - fail-fast: false - steps: - - name: Set up node.js - uses: actions/setup-node@v3 - with: - node-version: "12" - - uses: actions/checkout@v3 - - run: echo "::add-matcher::.github/javascript-syntax.json" - - name: Remove files to be ignored - run: | - true - - run: | - ! find . -type f -name '*.js' -exec node -c '{}' \; 2>&1 \ - |awk 'BEGIN {m=0} /(.js):[0-9]+$/ {m=1; printf "%s - ",$0} m==1 && /^SyntaxError/ { m=0; print }' \ - |sed "s@$(pwd)@.@" \ - |grep '^'