--- /dev/null
+{
+ "problemMatcher": [
+ {
+ "owner": "diff",
+ "pattern": [
+ {
+ "regexp": "--- a/(wcfsetup/(.*))",
+ "file": 2,
+ "message": 1
+ }
+ ]
+ }
+ ]
+}
+++ /dev/null
-{
- "problemMatcher": [
- {
- "owner": "tsc not run",
- "pattern": [
- {
- "regexp": "--- a/(wcfsetup/(.*))",
- "file": 2,
- "message": 1
- }
- ]
- }
- ]
-}
steps:
- uses: actions/checkout@v2
- uses: chekalsky/phpcs-action@e269c2f264f400adcda7c6b24c8550302350d495
+ ts:
+ name: TS Prettier
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - run: npm install
+ - run: |
+ shopt -s globstar
+ npx pretter -w wcfsetup/install/files/ts/**/*.ts
+ - run: echo "::add-matcher::.github/diff.json"
+ - run: |
+ git diff --exit-code
- uses: actions/checkout@v2
- run: npm install
- run: npx tsc
- - run: echo "::add-matcher::.github/typescript-tsc_not_run.json"
+ - run: echo "::add-matcher::.github/diff.json"
- run: |
git diff --exit-code