GitHub workflows: Install Node.js v12

I'm not sure how these tests ever worked. I guess some version of
Node.js and npm come pre-installed on the ubuntu-latest images?

I would have prefered to use Node.js v10 because that is our current
minimum supported version, but we have a surprising number of tests
that don't work on Node.js v10 (mostly due to `assert.match()`, which
was added in Node.js v12).
This commit is contained in:
Richard Hansen 2021-02-09 01:02:16 -05:00 committed by John McLear
parent 83a519941b
commit 87341af429
6 changed files with 36 additions and 0 deletions

View File

@ -17,6 +17,10 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 12
- name: Install libreoffice
run: |
sudo add-apt-repository -y ppa:libreoffice/ppa
@ -43,6 +47,10 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 12
- name: Install libreoffice
run: |
sudo add-apt-repository -y ppa:libreoffice/ppa

View File

@ -11,6 +11,10 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 12
- name: Run sauce-connect-action
shell: bash
env:

View File

@ -11,6 +11,10 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 12
- name: Run sauce-connect-action
shell: bash
env:
@ -47,6 +51,10 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 12
- name: Run sauce-connect-action
shell: bash
env:

View File

@ -17,6 +17,10 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 12
- name: Install lockfile-lint
run: npm install lockfile-lint

View File

@ -17,6 +17,10 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 12
- name: Install all dependencies and symlink for ep_etherpad-lite
run: src/bin/installDeps.sh
@ -39,6 +43,10 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 12
- name: Install etherpad-load-test
run: sudo npm install -g etherpad-load-test

View File

@ -16,6 +16,10 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 12
- name: docker network
run: docker network create --subnet=172.23.42.0/16 ep_net