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

Make publishing packages on GitHub working #1684

Merged
merged 4 commits into from
Oct 11, 2024
Merged

Conversation

literat
Copy link
Collaborator

@literat literat commented Oct 4, 2024

Description

The publishing workflow was not working correctly due to the fact that the workflow was run on every push. Not even to branch, but the tag as well. This causes running multiple actions at once, because Lerna pushes multiple tags, one for each package.

So I have prepared a condition for checking push to a branch with the tags on it. So only when there is a push to the main branch and the latest commit has tags the workflow will be run.

Additional context

https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#onpushbranchestagsbranches-ignoretags-ignore

Issue reference

https://jira.almacareer.tech/browse/DS-1434

@github-actions github-actions bot added the maintenance Changes to the build process or auxilary tools and libraries or other maintenance label Oct 4, 2024
@literat literat changed the title Make publishing packages on GitHub working 🚧 Make publishing packages on GitHub working Oct 4, 2024
Copy link

netlify bot commented Oct 4, 2024

Deploy Preview for spirit-design-system-storybook canceled.

Name Link
🔨 Latest commit b06d2f4
🔍 Latest deploy log https://app.netlify.com/sites/spirit-design-system-storybook/deploys/6708d536c1a5d20008320c00

Copy link

netlify bot commented Oct 4, 2024

Deploy Preview for spirit-design-system ready!

Name Link
🔨 Latest commit b06d2f4
🔍 Latest deploy log https://app.netlify.com/sites/spirit-design-system/deploys/6708d536d348ff00082e6fa1
😎 Deploy Preview https://deploy-preview-1684--spirit-design-system.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 96 (no change from production)
Accessibility: 93 (no change from production)
Best Practices: 100 (no change from production)
SEO: 82 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

@coveralls
Copy link

coveralls commented Oct 4, 2024

Coverage Status

coverage: 78.751%. remained the same
when pulling 73b15a8 on chore/DS-1434-prerelease
into 6e2492c on main.

@literat literat force-pushed the chore/DS-1434-prerelease branch 3 times, most recently from 1f04abf to 9bac127 Compare October 8, 2024 14:56
@literat literat changed the title 🚧 Make publishing packages on GitHub working Make publishing packages on GitHub working Oct 8, 2024
@literat literat marked this pull request as ready for review October 8, 2024 14:56
@literat literat requested a review from a team as a code owner October 8, 2024 14:56
Copy link
Member

@crishpeen crishpeen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤷

CONTRIBUTING.md Show resolved Hide resolved
.github/workflows/publish.yaml Show resolved Hide resolved
CONTRIBUTING.md Show resolved Hide resolved
Copy link
Member

@crishpeen crishpeen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand it, but the code looks ok.

@literat literat force-pushed the chore/DS-1434-prerelease branch from fa9cd7e to b06d2f4 Compare October 11, 2024 07:35
@literat literat merged commit 4c9b26f into main Oct 11, 2024
23 checks passed
@literat literat deleted the chore/DS-1434-prerelease branch October 11, 2024 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Changes to the build process or auxilary tools and libraries or other maintenance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants