From e37b49ae7a9d51faea2da6c366597fb25ead9347 Mon Sep 17 00:00:00 2001 From: Konrad Pabjan Date: Thu, 17 Aug 2023 10:01:52 -0400 Subject: [PATCH] Debug dumping GitHub Context --- .github/workflows/artifact-tests.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/artifact-tests.yml b/.github/workflows/artifact-tests.yml index ad702af5..d5140464 100644 --- a/.github/workflows/artifact-tests.yml +++ b/.github/workflows/artifact-tests.yml @@ -30,12 +30,23 @@ jobs: uses: actions/setup-node@v3 with: node-version: 16.x + + - name: Dump GitHub context + env: + GITHUB_CONTEXT: ${{ toJson(github) }} + run: echo "$GITHUB_CONTEXT" # In order to upload & download artifacts from a shell script, certain env variables need to be set that are only available in the # node context. This runs a local action that gets and sets the necessary env variables that are needed - name: Set env variables uses: ./packages/artifact/__tests__/ci-test-action/ + - name: Dump GitHub context again + env: + GITHUB_CONTEXT: ${{ toJson(github) }} + run: echo "$GITHUB_CONTEXT" + + # Need root node_modules because certain npm packages like jest are configured for the entire repository and it won't be possible # without these to just compile the artifacts package - name: Install root npm packages