diff --git a/bitrise.yml b/bitrise.yml index 96ec5575a1a..e64899ba85d 100644 --- a/bitrise.yml +++ b/bitrise.yml @@ -119,9 +119,6 @@ workflows: - activate-ssh-key@4: run_if: '{{getenv "SSH_RSA_PRIVATE_KEY" | ne ""}}' - git-clone@6: {} - - nvm@1.3.0: - inputs: - - node_version: '18.17.1' code_setup: before_run: - setup @@ -133,6 +130,17 @@ workflows: envman add --key YARN_CACHE_DIR --value "$(yarn cache dir)" title: Get Yarn cache directory - cache-pull@2: {} + - script@1: + inputs: + - content: |- + #!/usr/bin/env bash + echo "Node and Yarn being installed" + asdf global nodejs 18.18 + asdf plugin add yarn + asdf list all yarn + asdf install yarn latest + asdf global yarn 1.22.19 + title: Install node and yarn - yarn@0: inputs: - command: setup @@ -152,8 +160,6 @@ workflows: # postinstall script modifications and could affect hoisting on subsequent installs. - cache_paths: '$YARN_CACHE_DIR -> ./yarn.lock' code_setup_dev: - before_run: - - setup steps: - script@1: title: Generate `.npmrc` file for preview builds