-
-
Notifications
You must be signed in to change notification settings - Fork 47
42 lines (40 loc) · 914 Bytes
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Build
on:
push:
branches: '*'
pull_request:
branches: '*'
# schedule:
# - cron: '0 0 * * *'
jobs:
build:
name: Run build on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: [3.11]
defaults:
run:
shell: bash -l {0}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup conda
uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
# mamba-version: "*"
# channels: conda-forge
- name: Create the environment
run: |
conda env create -f environment.yml
- name: Install the npm dependencies
run: |
conda activate datalayer
yarn
- name: Run the build
run: |
conda activate datalayer
yarn build