move npm dependency into package.json file instead of hardcoding into pipeline

This commit is contained in:
Jonathan Wren 2022-08-13 16:00:26 -07:00
parent 9a785e4cfd
commit b3351b1e1f
3 changed files with 2179 additions and 1 deletions

View file

@ -62,7 +62,7 @@ jobs:
pip install poetry pip install poetry
poetry config --local virtualenvs.in-project true poetry config --local virtualenvs.in-project true
poetry install --no-root --remove-untracked poetry install --no-root --remove-untracked
npm install pa11y-ci npm install
echo "node_modules/.bin" >> $GITHUB_PATH echo "node_modules/.bin" >> $GITHUB_PATH
- name: Start docs server - name: Start docs server

2173
package-lock.json generated Normal file

File diff suppressed because it is too large Load diff

5
package.json Normal file
View file

@ -0,0 +1,5 @@
{
"devDependencies": {
"pa11y-ci": ">=3.0.1"
}
}