Skip to content

Conversation

@shortcuts
Copy link
Member

@shortcuts shortcuts commented Feb 15, 2022

🧭 What and Why

🎟 JIRA Ticket: https://algolia.atlassian.net/browse/APIC-311

Changes included:

We don't build the JavaScript utils folders (client-common, requester-browser-xhr, requester-node-http) when restoring generated clients from cache, which can lead to outdated build.

Motivations

Cache hit on #135 for utils folders, while they should've been rebuilt due to changes.

🧪 Test

CI :D

@shortcuts shortcuts requested a review from millotp February 15, 2022 10:08
@shortcuts shortcuts self-assigned this Feb 15, 2022
@shortcuts shortcuts force-pushed the feat/ci-build-js-common branch from 64aa249 to 728bcda Compare February 15, 2022 10:43
@shortcuts shortcuts marked this pull request as ready for review February 15, 2022 11:07
if: steps.cache.outputs.cache-hit != 'true'
run: yarn build:clients javascript ${{ matrix.client.name }}

client_javascript_common:
Copy link
Member Author

Choose a reason for hiding this comment

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

We should be able to group jobs after #135

@shortcuts shortcuts changed the title feat(ci): build JavaScript client common feat(ci): build JavaScript client utils Feb 15, 2022
Copy link
Collaborator

@millotp millotp left a comment

Choose a reason for hiding this comment

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

All good !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants