MOBILE-4081 core: Fix package-lock.json for npm 6

We were previously relying on npm 7 by mistake
main
Noel De Martin 2022-05-30 15:28:54 +02:00
parent b67d27fc0e
commit d44aaa17db
6 changed files with 482 additions and 31212 deletions

View File

@ -35,9 +35,7 @@ jobs:
git clone --branch ${{ github.event.inputs.moodle_branch }} --depth 1 ${{ github.event.inputs.moodle_repository }} $GITHUB_WORKSPACE/moodle
git clone --branch master --depth 1 https://github.com/moodlehq/moodle-docker $GITHUB_WORKSPACE/moodle-docker
- name: Install npm packages
run: |
npm install -g npm@7
npm ci --no-audit
run: npm ci --no-audit
- name: Generate Behat tests plugin
run: |
export MOODLE_DOCKER_WWWROOT=$GITHUB_WORKSPACE/moodle

View File

@ -21,9 +21,7 @@ jobs:
git clone --branch master --depth 1 https://github.com/moodle/moodle $GITHUB_WORKSPACE/moodle
git clone --branch master --depth 1 https://github.com/moodlehq/moodle-docker $GITHUB_WORKSPACE/moodle-docker
- name: Install npm packages
run: |
npm install -g npm@7
npm ci --no-audit
run: npm ci --no-audit
- name: Generate Behat tests plugin
run: |
export MOODLE_DOCKER_WWWROOT=$GITHUB_WORKSPACE/moodle

View File

@ -14,9 +14,7 @@ jobs:
with:
node-version: '14'
- name: Install npm packages
run: |
npm install -g npm@7
npm ci --no-audit
run: npm ci --no-audit
- name: Check langindex
run: |
result=$(cat scripts/langindex.json | grep \"TBD\" | wc -l); test $result -eq 0

View File

@ -19,7 +19,6 @@ cache:
before_install:
- nvm install
- npm install npm@^7 -g
- node --version
- npm --version
- nvm --version
@ -48,7 +47,6 @@ jobs:
- extra-android-m2repository
before_install:
- nvm install
- npm install npm@^7 -g
- node --version
- npm --version
- nvm --version

View File

@ -6,7 +6,6 @@ WORKDIR /app
# Prepare node dependencies
RUN apt-get update && apt-get install libsecret-1-0 -y
COPY package*.json ./
RUN npm install -g npm@7
RUN npm ci --no-audit
# Build source

31679
package-lock.json generated

File diff suppressed because it is too large Load Diff