forked from jupyterlite/jupyterlite
-
Notifications
You must be signed in to change notification settings - Fork 0
53 lines (50 loc) 路 1.18 KB
/
win-dev.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
43
44
45
46
47
48
49
50
51
52
53
name: Windows Dev
on:
push:
branches:
- main
pull_request:
branches:
- '*'
env:
CACHE_EPOCH: 5
CI: 0
WIN_DEV_IN_CI: 1
PYTHONUTF8: 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@v4
- uses: mamba-org/setup-micromamba@v1
with:
micromamba-version: '1.5.1-0'
environment-file: .binder/environment.yml
init-shell: cmd.exe
cache-environment: true
post-cleanup: 'all'
- name: Cache (node_modules)
uses: actions/cache@v4
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: jlpm lint