Skip to content

Commit

Permalink
fix mac build
Browse files Browse the repository at this point in the history
  • Loading branch information
CodyCBakerPhD authored Jun 5, 2024
1 parent ced73f2 commit 023980a
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/build_and_deploy_mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 023980a

Please sign in to comment.