Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Freeze npm version to 8.5.5 #3851

Merged
merged 4 commits into from
Jun 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/npm-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ jobs:
with:
node-version: '16'
cache: 'npm'
- name: Downgrading npm to 8.5.5
uses: reedyuk/[email protected]
with:
version: '8.5.5'
- uses: browser-actions/setup-chrome@latest
- run: chrome --version
- run: npm install
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ jobs:
with:
node-version: '16'
cache: 'npm'
- name: Downgrading npm to 8.5.5
uses: reedyuk/[email protected]
with:
version: '8.5.5'
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
Expand Down
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ COPY . "${KPI_SRC_DIR}"

RUN python3 -m venv "$VIRTUAL_ENV"
ENV PATH="$VIRTUAL_ENV/bin:$PATH"
RUN pip install --quiet pip==22.0.4 && \
pip install --quiet pip-tools
RUN pip install --quiet pip==22.0.4 && \
pip install --quiet pip-tools
COPY ./dependencies/pip/external_services.txt "${TMP_DIR}/pip_dependencies.txt"
RUN pip-sync "${TMP_DIR}/pip_dependencies.txt" 1>/dev/null && \
rm -rf ~/.cache/pip
Expand All @@ -101,6 +101,7 @@ RUN pip-sync "${TMP_DIR}/pip_dependencies.txt" 1>/dev/null && \
WORKDIR ${KPI_SRC_DIR}/

RUN rm -rf ${KPI_NODE_PATH} && \
npm install -g [email protected] && \
npm install -g check-dependencies && \
npm install --quiet && \
npm cache clean --force
Expand Down
4 changes: 4 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
"name": "kpi",
"version": "2.0.0",
"description": "KoboToolbox frontend interface.",
"engineStrict" : true,
"engines": {
"node": "~16.15.0",
"npm": "~8.5.5"
},
"dependencies": {
"@fontsource/roboto": "^4.4.2",
"@fontsource/roboto-mono": "^4.4.2",
Expand Down