-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(docs): comptime functions
slice
, rawSlice
, ascii
and `crc3…
…2` (#951) * chore(CI): try using `pnpm setup` as advised that may or may not require sourcing proper files on the system, like .profile/.bashrc for systems using Bash (Linux in GitHub Actions), .zprofile/.zshrc for systems using Zsh (macOS in GitHub Actions), etc. Because of some bug in macos-latest, which overrides the used version of Node.js (from 22 specified to 20 installed), which then causes compilation errors with Tact (`.isSubsetOf()` stuff)
- Loading branch information
Showing
3 changed files
with
141 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -231,7 +231,17 @@ jobs: | |
- name: (pnpm) Test creation of new Blueprint projects | ||
if: ${{ matrix.package-manager == 'pnpm' }} | ||
run: | | ||
npm i -g pnpm | ||
# Installing the specific pnpm version to work around https://github.com/pnpm/pnpm/issues/5000 | ||
# and not fail suddenly when a release comes that fixes this | ||
# NOTE: revisit and simplify this step if/when those bugs with pnpm are resolved | ||
npm i -g [email protected] | ||
# To help pnpm recognize the shell (they cannot do it themselves sometimes...) | ||
${{ matrix.os != 'windows-latest' && 'export SHELL=bash' || 'echo windows_noop' }} | ||
pnpm setup -f | ||
# To source .bashrc on Linux: | ||
${{ matrix.os == 'ubuntu-latest' && 'source ~/.bashrc' || 'echo noop' }} | ||
# To expose stuff for pnpm directly on macOS (because otherwise the pre-installed Node.js version gets used): | ||
${{ matrix.os == 'macos-latest' && 'export PNPM_HOME=~/Library/pnpm; export PATH=$PNPM_HOME:$PATH' || 'echo noop' }} | ||
pnpm link -g | ||
cd .. | ||
pnpm create ton@latest test-project --type tact-counter --contractName Counter | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters