Skip to content

Update to JupyterLab 4 and Notebook 7 #1185

Update to JupyterLab 4 and Notebook 7

Update to JupyterLab 4 and Notebook 7 #1185

Workflow file for this run

name: Windows Dev
on:
push:
branches:
- main
pull_request:
branches:
- '*'
env:
CACHE_EPOCH: 5
CI: 0
WIN_DEV_IN_CI: 1
jobs:
win-dev:
runs-on: windows-latest
defaults:
run:
shell: cmd /C CALL {0}
steps:
- name: Set git to use LF
run: |
git config --global core.autocrlf false
git config --global core.eol lf
- name: Checkout
uses: actions/checkout@v3
- name: Conda
uses: conda-incubator/setup-miniconda@v2
with:
environment-file: .binder/environment.yml
miniforge-variant: Mambaforge
use-mamba: true
- name: Cache (node_modules)
uses: actions/cache@v3
id: cache-node-modules
with:
path: node_modules/
key: |
${{ env.CACHE_EPOCH }}-${{ runner.os }}-node-modules-${{ hashFiles('yarn.lock') }}
- name: Node
run: doit setup || doit setup || doit setup
- name: Build
run: doit build
- name: Dist
run: doit dist
- name: Dev
run: doit dev
- name: Lint
run: doit lint || doit lint || doit lint
- name: Move conda cache
run: |-
move C:\Users\runneradmin\conda_pkgs_dir C:\Users\runneradmin\not_conda_pkgs_dir