Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/deploy GitHub Packages #56

Merged
merged 1 commit into from
Nov 22, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@ jobs:
packages: write # allow GITHUB_TOKEN to publish packages
id-token: write
steps:
- name: Check Pull Request Status
run: |
if [ "${{ github.event.pull_request.merged }}" = "true" ]; then
echo "Pull request merged successfully."
else
echo "Pull request not merged. Skipping further steps."
exit 0
fi
- uses: actions/checkout@v2
- uses: pnpm/[email protected]
with:
Expand Down Expand Up @@ -47,4 +55,5 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
registry: "https://npm.pkg.github.com"
provenance: true
access: public
tag: ${{ steps.determine-tag.outputs.tag }}
Loading