From 023980a5348692ab3998749c5c0eaded0844960e Mon Sep 17 00:00:00 2001 From: Cody Baker <51133164+CodyCBakerPhD@users.noreply.github.com> Date: Wed, 5 Jun 2024 12:12:32 -0400 Subject: [PATCH] fix mac build --- .github/workflows/build_and_deploy_mac.yml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build_and_deploy_mac.yml b/.github/workflows/build_and_deploy_mac.yml index 8e19f39660..e31ace8bef 100644 --- a/.github/workflows/build_and_deploy_mac.yml +++ b/.github/workflows/build_and_deploy_mac.yml @@ -20,17 +20,23 @@ jobs: with: python-version: "3.10" - - uses: conda-incubator/setup-miniconda@v2 + - name: Setup Mambaforge + uses: conda-incubator/setup-miniconda@v3 with: + miniforge-variant: Mambaforge + miniforge-version: latest activate-environment: nwb-guide - environment-file: environments/environment-MAC-apple-silicon.yml - auto-activate-base: false + use-mamba: true - - uses: actions/setup-node@v3 + - name: Create and activate environment + run: mamba env update --name nwb-guide --file environments/environment-MAC-apple-silicon.yml + + - name: Use Node.js 20 + uses: actions/setup-node@v4 with: - node-version: "18" + node-version: 20 - - name: Install package.json modules and their dependencies + - name: Install package.json modules and their dependencies (not via `npm ci`) run: npm install --verbose - name: Remove bad sonpy file (might make Spike2 format unusable on Mac - should exclude from selection)