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

CI: don't run npm pack twice #6923

Merged
merged 3 commits into from
Jul 30, 2024
Merged

Conversation

cknitt
Copy link
Member

@cknitt cknitt commented Jul 29, 2024

npm pack was run twice. Once with --dry-run to check the artifact list, and one more time for the actual package creation.

Doing it only once saves another 12s in CI.

@cknitt cknitt marked this pull request as ready for review July 29, 2024 15:23
@cometkim
Copy link
Member

Do we still need to manage the artifact list?

@cknitt
Copy link
Member Author

cknitt commented Jul 30, 2024

Do we still need to manage the artifact list?

I would definitely like to keep it, it already saved us a few times from unexpected files ending up in the npm package.

@cknitt cknitt merged commit 53d2d82 into rescript-lang:master Jul 30, 2024
17 checks passed
@cknitt cknitt deleted the ci-npm-pack-speedup branch July 30, 2024 11:34
tsnobip pushed a commit that referenced this pull request Jan 31, 2025
* CI: don't run npm pack twice

* Add typedefs for PackOutput

* Update comments
tsnobip pushed a commit that referenced this pull request Jan 31, 2025
* CI: don't run npm pack twice

* Add typedefs for PackOutput

* Update comments
cknitt added a commit that referenced this pull request Feb 1, 2025
* backport bundle stdlib JS files for playground (#7255)

* replace deprecated pipes with shlex

* update setup-ocaml

* use node 18

* add rollup linux as an optional dependency

* use ubuntu-24.04 and ubuntu-24.04-arm

* backport fix for hanging tests (#6667)

* update artifacts.txt

* backport: CI: don't run npm pack twice (#6923)

* CI: don't run npm pack twice

* Add typedefs for PackOutput

* Update comments

* update artifacts

* Fix CHANGELOG.md

---------

Co-authored-by: Christoph Knittel <ck@cca.io>
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