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

chore(ci): prevent downloads of Tact from npm in tact-template tests #1817

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

novusnota
Copy link
Member

@novusnota novusnota commented Feb 13, 2025

Current approach:

  • Clone the repo
  • Remove the tact from dependency list and run yarn install
  • Then, use yarn link @tact-lang/compiler to install the local version of Tact compiler

Previous attempt:

In a regular install optionalDependencies are also being installed. That is, running yarn install will install Tact compiler inside the tact-template folder.

However, running yarn install --ignore-optional won't, which is precisely what we need — instead of downloading Tact from npm we'll link it with the built version from the repo.

Issue

Towards #1810 (only resolves the tact-template part)

Checklist

  • I have run the linter, formatter and spellchecker
  • I did not do unrelated and/or undiscussed refactorings

@novusnota novusnota added this to the v1.6.0 milestone Feb 13, 2025
@novusnota novusnota requested a review from a team as a code owner February 13, 2025 12:26
@novusnota novusnota marked this pull request as draft February 13, 2025 15:03
@novusnota novusnota force-pushed the towards-1810-tact-template-ci branch from e64f689 to 5c3cdba Compare February 14, 2025 22:27
@novusnota novusnota marked this pull request as ready for review February 14, 2025 22:27
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.

1 participant