-
Notifications
You must be signed in to change notification settings - Fork 7
35 lines (32 loc) · 992 Bytes
/
test-deploy.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
name: Docs Test deployment
on:
pull_request:
branches:
- main
# Review gh actions docs if you want to further define triggers, paths, etc
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on
jobs:
docs-test-deploy:
name: Test deployment
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- uses: actions/setup-node@v3
with:
node-version: 18
# cache: yarn
- run: ls farm-ng-amiga
- name: Install adk dependencies
working-directory: website
run: pip3 install -r requirements.txt
- name: Create Markdown
working-directory: website
run: ./run_pydoc-markdown.sh
- name: Install docusaurus dependencies
working-directory: website
run: yarn install --frozen-lockfile
- name: Test build website
working-directory: website
run: yarn build