Skip to content

Commit

Permalink
ci: print more info in the "info" step
Browse files Browse the repository at this point in the history
  • Loading branch information
cwillisf committed Nov 12, 2024
1 parent 3f0d6f4 commit 26da869
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,15 @@ jobs:
node-version-file: '.nvmrc'
- name: info
run: |
echo "Scratch environment: ${{ vars.SCRATCH_ENV }}"
echo "Node version: $(node --version)"
echo "NPM version: $(npm --version)"
cat <<EOF
Scratch environment: ${{ vars.SCRATCH_ENV }}
Node version: $(node --version)
NPM version: $(npm --version)
github.workflow: ${{ github.workflow }}
github.event.pull_request.head.label: ${{ github.event.pull_request.head.label }}
github.head_ref: ${{ github.head_ref }}
github.ref: ${{ github.ref }}
EOF
- name: setup
run: |
npm --production=false ci
Expand Down

0 comments on commit 26da869

Please sign in to comment.