File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed
Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 1313 types : [published] # update Docs upon new release
1414
1515jobs :
16- docs :
16+ api- docs :
1717 runs-on : ubuntu-latest
1818 steps :
1919 - uses : actions/checkout@v1
2020 - name : Set up Python
2121 uses : actions/setup-python@v1
2222 with :
2323 python-version : " 3.8"
24+ - uses : actions/setup-node@v1
25+ with :
26+ node-version : ' 12'
2427 - name : Capture branch and tag
2528 id : branch_name
2629 run : |
Original file line number Diff line number Diff line change 88 pre-commit install
99
1010dev-docs :
11- cd docs && npm install
11+ cd docs && yarn install
1212
1313format :
1414 poetry run isort -rc aws_lambda_powertools tests
@@ -40,11 +40,11 @@ build-docs-api: dev
4040
4141build-docs-website : dev-docs
4242 mkdir -p dist
43- cd docs && npm run build
43+ cd docs && yarn build
4444 cp -R docs/public/* dist/
4545
46- docs-local :
47- cd docs && npm run start
46+ docs-local : dev-docs
47+ cd docs && yarn start
4848
4949docs-api-local :
5050 poetry run pdoc --http : aws_lambda_powertools
You can’t perform that action at this time.
0 commit comments