Skip to content

Conversation

@sethidden
Copy link
Contributor

Before this PR, 700mb of node_modules (all app dependencies) were fetched just to commitlint, which took a long time.
After it, just the needed package is fetched.
M2-360

@sethidden sethidden force-pushed the M2-360 branch 2 times, most recently from 118a13f to 19d5892 Compare June 24, 2022 09:47
Frodigo
Frodigo previously approved these changes Jun 24, 2022
@Frodigo Frodigo added this to the 1.0.0-rc.10 milestone Jun 24, 2022
@sethidden sethidden force-pushed the M2-360 branch 2 times, most recently from 2eb8005 to 5091e4c Compare June 24, 2022 10:19
@sethidden sethidden changed the title ci: don't fetch all npm pkgs just to commitlint intentionally invalid pr name to check if github action works Jun 24, 2022
@sethidden
Copy link
Contributor Author

sethidden commented Jun 24, 2022

@Frodigo Turned out that the first version accepted was actually downloading all packages nonetheless. Installing only one package is only achievable by removing package.json, but it's fine for our case since this is a self-contained check for just the commit.
The action now finishes in 10s instead of 90s

@sethidden sethidden changed the title intentionally invalid pr name to check if github action works ci: shorten pr name lint action runtime from 90s to 10s Jun 24, 2022
@sethidden sethidden changed the title ci: shorten pr name lint action runtime from 90s to 10s ci: shorten pr name lint action runtime from 90s to 20s Jun 24, 2022
@sethidden sethidden merged commit e4f438b into develop Jun 24, 2022
@sethidden sethidden deleted the M2-360 branch June 24, 2022 10:50
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.

3 participants