diff --git a/.github/actions/nvm_use_npm_install/action.yml b/.github/actions/nvm_use_npm_install/action.yml index fa8d7772e6..c49a0f97cd 100644 --- a/.github/actions/nvm_use_npm_install/action.yml +++ b/.github/actions/nvm_use_npm_install/action.yml @@ -3,15 +3,12 @@ description: GitHub Action to use NVM and install Node dependencies runs: using: composite steps: - - name: Use NVM to run Node v16 - run: |- - nvm install v16.13.2 - node -v - nvm alias default v16.13.2 - nvm use v16.13.2 - shell: bash + - name: Setup Node.js environment + uses: actions/setup-node@v2 + with: + node-version: '16.13.2' - name: Install Node dependencies run: |- node -v npm install - shell: bash \ No newline at end of file + shell: pwsh \ No newline at end of file diff --git a/.github/actions/win_setup_python_env/action.yml b/.github/actions/win_setup_python_env/action.yml index e6137a1b4d..2a949c38cf 100644 --- a/.github/actions/win_setup_python_env/action.yml +++ b/.github/actions/win_setup_python_env/action.yml @@ -11,16 +11,12 @@ runs: uses: conda-incubator/setup-miniconda@v2 with: auto-update-conda: true - python-version: ${{ inputs.python_version }} - # - name: Explicitly initialize conda - # run: conda init bash - # shell: bash + python-version: ${{ inputs.python_version }} - name: Create 'kedro-viz' conda environment run: conda create --name kedro-viz python=${{ inputs.python_version }} -y shell: pwsh - name: Install Kedro-Viz dependencies run: |- - conda init pwsh conda activate kedro-viz pip install git+https://github.com/kedro-org/kedro@main pip install -r package/test_requirements.txt -U