diagnostics
This commit is contained in:
parent
65e33a89a4
commit
0b323dbbd7
1 changed files with 17 additions and 0 deletions
17
.github/workflows/pr_checks.yml
vendored
17
.github/workflows/pr_checks.yml
vendored
|
|
@ -29,6 +29,23 @@ jobs:
|
|||
|
||||
- name: Run tests
|
||||
run: npm test
|
||||
env:
|
||||
DEBUG_CLI_TESTS: "1"
|
||||
|
||||
- name: Show test logs on failure (Windows)
|
||||
if: failure() && runner.os == 'Windows'
|
||||
run: |
|
||||
echo "=== Node.js version ==="
|
||||
node --version
|
||||
echo "=== NPM version ==="
|
||||
npm --version
|
||||
echo "=== Working directory ==="
|
||||
pwd
|
||||
echo "=== dist/index.js exists? ==="
|
||||
if (Test-Path dist/index.js) { echo "Yes" } else { echo "No" }
|
||||
echo "=== First 10 lines of dist/index.js ==="
|
||||
if (Test-Path dist/index.js) { Get-Content dist/index.js -First 10 }
|
||||
shell: pwsh
|
||||
|
||||
- name: Run linting
|
||||
run: npm run lint
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue