Skip to content

Commit

Permalink
chore(ci): prevent downloads of Tact from npm in tact-template tests
Browse files Browse the repository at this point in the history
  • Loading branch information
novusnota committed Feb 14, 2025
1 parent e525f67 commit 5c3cdba
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/tact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ jobs:
# !!!!!!! Don't forget to update test-windows below !!!!!!!
git clone https://github.com/tact-lang/tact-template.git
cd tact-template
# Hijack the dependency on Tact to avoid redundant npm downloads
jq 'del(.dependencies."@tact-lang/compiler")' package.json -M > temp.json && mv temp.json package.json
yarn install
yarn link @tact-lang/compiler
yarn build
Expand All @@ -107,6 +109,8 @@ jobs:
$ErrorActionPreference = 'Stop'
git clone https://github.com/tact-lang/tact-template.git
cd tact-template
# Hijack the dependency on Tact to avoid redundant npm downloads
jq 'del(.dependencies."@tact-lang/compiler")' package.json -M > temp.json && mv temp.json package.json
yarn install
yarn link @tact-lang/compiler
yarn build
Expand Down

0 comments on commit 5c3cdba

Please sign in to comment.