feat(test): add cleaner error handling on package json failure #56
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI/CD | |
on: | |
push: | |
branches-ignore: | |
- 'dependabot/**' | |
paths-ignore: | |
- '.gitignore' | |
- '.mergify.yml' | |
- 'CHANGELOG.md' | |
- 'LICENSE' | |
- 'README.md' | |
- 'renovate.json' | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
dispatcher: | |
runs-on: ubuntu-22.04 | |
if: >- | |
github.event_name != 'pull_request' | |
|| github.event.pull_request.head.repo.full_name != github.repository | |
|| startsWith(github.head_ref, 'dependabot/') | |
steps: | |
- run: 'true' | |
ci-cd: | |
needs: | |
- dispatcher | |
uses: ./.github/workflows/build-and-deploy.yml | |
secrets: inherit | |
permissions: | |
contents: write | |
packages: write |