Skip to content

CI: publish to npm + nightly build + release#169

Open
baumstern wants to merge 5 commits intoquadratic-gardens:mainfrom
baumstern:ci
Open

CI: publish to npm + nightly build + release#169
baumstern wants to merge 5 commits intoquadratic-gardens:mainfrom
baumstern:ci

Conversation

@baumstern
Copy link
Contributor

@baumstern baumstern commented Aug 19, 2022

Summary

New CI Feature

  • Publish npm packages when code pushed to main or dev branch
  • Run nightly build at UTC 0
  • Draft a release and publish npm packages when tag has been pushed

Misc.

  • Make a repo commitizen friendly
  • Use reusable workflow of GitHub Action to avoid a job conflict

Following sub-packages which are marked as public in package.json will publish latest code of main or dev branch:

Latest update in main or dev branch could be imported using its branch name to package tag in package.json:
e.g.

"dependencies": {
        @quadratic-funding/contracts: "dev"
]

Package version could be identified by branch and commit id with 0.0.0-prefix. (e.g. if commit e54b780 has pushed to main branch, then 0.0.0-main.e54b780
e.g.

"dependencies": {
        @quadratic-funding/contracts: "0.0.0-main.e54b780"
]

@vercel
Copy link

vercel bot commented Aug 19, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated
qfi ⬜️ Ignored (Inspect) Aug 22, 2022 at 2:42PM (UTC)

@baumstern baumstern changed the title Ci CI: publish to npm + nightly build Aug 19, 2022
@baumstern baumstern changed the title CI: publish to npm + nightly build CI: publish to npm + nightly build + release Aug 22, 2022
@baumstern baumstern linked an issue Nov 2, 2022 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

QFI: publish to npm + nightly build + release

1 participant