Skip to content

Commit

Permalink
chore: Add debugging.
Browse files Browse the repository at this point in the history
  • Loading branch information
dvuckovic committed Apr 7, 2024
1 parent 3584e55 commit 47025d7
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,18 @@ jobs:
- name: Build ⚙️
run: yarn build

- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"

- name: Dump job context
env:
JOB_CONTEXT: ${{ toJson(job) }}
run: echo "$JOB_CONTEXT"

- name: Publish 📜
if: github.ref == 'refs/heads/main' && github.event.type == 'release' && github.event.action == 'published'
if: github.event.type == 'release' && github.event.action == 'published'
run: yarn publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down

0 comments on commit 47025d7

Please sign in to comment.