MOBILE-4081 core: Fix package-lock.json for npm 6
We were previously relying on npm 7 by mistakemain
parent
b67d27fc0e
commit
d44aaa17db
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue