From 46d4d4bcd685b583b6a47829339ef0d3b7c57f5e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Tue, 31 May 2022 16:52:13 +0200 Subject: [PATCH] Drop useless javascript.yml workflow --- .github/workflows/javascript.yml | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 .github/workflows/javascript.yml 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 '^' -- 2.20.1