Skip to content

Unified CI for Protocol, FaaS and Deploy#58

Closed
Priyanshu-u07 wants to merge 5 commits intometacall:masterfrom
Priyanshu-u07:master
Closed

Unified CI for Protocol, FaaS and Deploy#58
Priyanshu-u07 wants to merge 5 commits intometacall:masterfrom
Priyanshu-u07:master

Conversation

@Priyanshu-u07
Copy link
Copy Markdown
Contributor

This workflow creates three jobs.
First, it builds and packages the protocol into a .tgz file. Then, it runs two parallel jobs that test this package against FaaS and Deploy.
This ensures any changes in Protocol are tested across both the repo FaaS and Deploy.

- name: Install deps with local Protocol
working-directory: faas
run: |
npm i
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Shouldn't you uninstall @metacall/protocol after this?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Fixed.
The second npm i ./metacall-protocol-*.tgz overrides @metacall/protocol. But, adding it a better way.

- name: Install deps with local Protocol
working-directory: deploy
run: |
npm i
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

And the same here?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Fixed.
The second npm i ./metacall-protocol-*.tgz overrides @metacall/protocol. But, adding it a better way.

@viferga
Copy link
Copy Markdown
Member

viferga commented Mar 31, 2026

We have added workflow triggers for faas and deploy.

@viferga viferga closed this Mar 31, 2026
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.

2 participants