File tree 2 files changed +8
-5
lines changed
2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 13
13
types : [published] # update Docs upon new release
14
14
15
15
jobs :
16
- docs :
16
+ api- docs :
17
17
runs-on : ubuntu-latest
18
18
steps :
19
19
- uses : actions/checkout@v1
20
20
- name : Set up Python
21
21
uses : actions/setup-python@v1
22
22
with :
23
23
python-version : " 3.8"
24
+ - uses : actions/setup-node@v1
25
+ with :
26
+ node-version : ' 12'
24
27
- name : Capture branch and tag
25
28
id : branch_name
26
29
run : |
Original file line number Diff line number Diff line change 8
8
pre-commit install
9
9
10
10
dev-docs :
11
- cd docs && npm install
11
+ cd docs && yarn install
12
12
13
13
format :
14
14
poetry run isort -rc aws_lambda_powertools tests
@@ -40,11 +40,11 @@ build-docs-api: dev
40
40
41
41
build-docs-website : dev-docs
42
42
mkdir -p dist
43
- cd docs && npm run build
43
+ cd docs && yarn build
44
44
cp -R docs/public/* dist/
45
45
46
- docs-local :
47
- cd docs && npm run start
46
+ docs-local : dev-docs
47
+ cd docs && yarn start
48
48
49
49
docs-api-local :
50
50
poetry run pdoc --http : aws_lambda_powertools
You can’t perform that action at this time.
0 commit comments