forked from LINCellularNeuroscience/VAME
-
Notifications
You must be signed in to change notification settings - Fork 3
43 lines (36 loc) · 1.05 KB
/
test-deploy.yaml
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
name: Test deployment
on:
push: # todo remove
branches:
- docs/adding-docs-app
pull_request:
branches:
- docs
jobs:
test-deploy:
name: Test deployment
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: 3.11
# - name: Install VAME Project.
# run: |
# python -m pip install --upgrade pip
# pip install .
- name: Install docs dependencies.
run: pip install -r docs/requirements-docs.txt
- name: Auto generate API Reference.
run: cd docs && pydoc-markdown
- uses: actions/setup-node@v3
with:
node-version: 18
cache: yarn
working-directory: docs/vame-docs-app
cache-dependency-path: docs/vame-docs-app/yarn.lock
- name: Install dependencies
run: cd docs/vame-docs-app && yarn install --frozen-lockfile
- name: Test build website
run: cd docs/vame-docs-app && yarn build