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 ${{ 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
|
git clone --branch master --depth 1 https://github.com/moodlehq/moodle-docker $GITHUB_WORKSPACE/moodle-docker
|
||||||
- name: Install npm packages
|
- name: Install npm packages
|
||||||
run: |
|
run: npm ci --no-audit
|
||||||
npm install -g npm@7
|
|
||||||
npm ci --no-audit
|
|
||||||
- name: Generate Behat tests plugin
|
- name: Generate Behat tests plugin
|
||||||
run: |
|
run: |
|
||||||
export MOODLE_DOCKER_WWWROOT=$GITHUB_WORKSPACE/moodle
|
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/moodle/moodle $GITHUB_WORKSPACE/moodle
|
||||||
git clone --branch master --depth 1 https://github.com/moodlehq/moodle-docker $GITHUB_WORKSPACE/moodle-docker
|
git clone --branch master --depth 1 https://github.com/moodlehq/moodle-docker $GITHUB_WORKSPACE/moodle-docker
|
||||||
- name: Install npm packages
|
- name: Install npm packages
|
||||||
run: |
|
run: npm ci --no-audit
|
||||||
npm install -g npm@7
|
|
||||||
npm ci --no-audit
|
|
||||||
- name: Generate Behat tests plugin
|
- name: Generate Behat tests plugin
|
||||||
run: |
|
run: |
|
||||||
export MOODLE_DOCKER_WWWROOT=$GITHUB_WORKSPACE/moodle
|
export MOODLE_DOCKER_WWWROOT=$GITHUB_WORKSPACE/moodle
|
||||||
|
|
|
@ -14,9 +14,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
node-version: '14'
|
node-version: '14'
|
||||||
- name: Install npm packages
|
- name: Install npm packages
|
||||||
run: |
|
run: npm ci --no-audit
|
||||||
npm install -g npm@7
|
|
||||||
npm ci --no-audit
|
|
||||||
- name: Check langindex
|
- name: Check langindex
|
||||||
run: |
|
run: |
|
||||||
result=$(cat scripts/langindex.json | grep \"TBD\" | wc -l); test $result -eq 0
|
result=$(cat scripts/langindex.json | grep \"TBD\" | wc -l); test $result -eq 0
|
||||||
|
|
|
@ -19,7 +19,6 @@ cache:
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- nvm install
|
- nvm install
|
||||||
- npm install npm@^7 -g
|
|
||||||
- node --version
|
- node --version
|
||||||
- npm --version
|
- npm --version
|
||||||
- nvm --version
|
- nvm --version
|
||||||
|
@ -48,7 +47,6 @@ jobs:
|
||||||
- extra-android-m2repository
|
- extra-android-m2repository
|
||||||
before_install:
|
before_install:
|
||||||
- nvm install
|
- nvm install
|
||||||
- npm install npm@^7 -g
|
|
||||||
- node --version
|
- node --version
|
||||||
- npm --version
|
- npm --version
|
||||||
- nvm --version
|
- nvm --version
|
||||||
|
|
|
@ -6,7 +6,6 @@ WORKDIR /app
|
||||||
# Prepare node dependencies
|
# Prepare node dependencies
|
||||||
RUN apt-get update && apt-get install libsecret-1-0 -y
|
RUN apt-get update && apt-get install libsecret-1-0 -y
|
||||||
COPY package*.json ./
|
COPY package*.json ./
|
||||||
RUN npm install -g npm@7
|
|
||||||
RUN npm ci --no-audit
|
RUN npm ci --no-audit
|
||||||
|
|
||||||
# Build source
|
# Build source
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue