forked from jupyterlite/jupyterlite
-
Notifications
You must be signed in to change notification settings - Fork 0
50 lines (47 loc) 路 1.14 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
name: Windows Dev
on:
push:
branches:
- main
pull_request:
branches:
- '*'
env:
CACHE_EPOCH: 1
CI: 0
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@v2
- 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@v2
id: cache-node-modules
with:
path: node_modules/
key: |
${{ env.CACHE_EPOCH }}-${{ runner.os }}-node-modules-${{ hashFiles('yarn.lock') }}
- name: Node
run: doit setup:js || doit setup:js || doit setup:js
- name: Build
run: doit build
- name: Dist
run: doit dist
- name: Dev
run: doit dev
- name: Lint
run: doit lint || doit lint || doit lint