Skip to content

Commit 6a5889b

Browse files
committed
Merge branch 'fix/docs-with-yarn' into develop
* fix/docs-with-yarn: fix: high and security peer dependency vulnerabilities fix: change to Yarn to support manual resolutions docs: use yarn's resolution to fix incompatible dependency
2 parents 0e3f808 + e2b3add commit 6a5889b

File tree

5 files changed

+17605
-28209
lines changed

5 files changed

+17605
-28209
lines changed

.github/workflows/python_docs.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,17 @@ on:
1313
types: [published] # update Docs upon new release
1414

1515
jobs:
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: |

Makefile

+4-4
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ dev:
88
pre-commit install
99

1010
dev-docs:
11-
cd docs && npm install
11+
cd docs && yarn install
1212

1313
format:
1414
poetry run isort -rc aws_lambda_powertools tests
@@ -40,11 +40,11 @@ build-docs-api: dev
4040

4141
build-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

4949
docs-api-local:
5050
poetry run pdoc --http : aws_lambda_powertools

0 commit comments

Comments
 (0)