ci: print more info in the "info" step

This commit is contained in:
Christopher Willis-Ford 2024-11-12 08:12:56 -08:00
parent 3f0d6f4239
commit 26da869f61

View file

@ -47,9 +47,15 @@ jobs:
node-version-file: '.nvmrc' node-version-file: '.nvmrc'
- name: info - name: info
run: | run: |
echo "Scratch environment: ${{ vars.SCRATCH_ENV }}" cat <<EOF
echo "Node version: $(node --version)" Scratch environment: ${{ vars.SCRATCH_ENV }}
echo "NPM version: $(npm --version)" 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 - name: setup
run: | run: |
npm --production=false ci npm --production=false ci