devops(docker): upgrade to node 16 (#6498)
This commit is contained in:
parent
bcccafea13
commit
2697f8380f
1
.github/workflows/tests_secondary.yml
vendored
1
.github/workflows/tests_secondary.yml
vendored
|
|
@ -113,6 +113,7 @@ jobs:
|
||||||
node_version:
|
node_version:
|
||||||
- "^12.0.0"
|
- "^12.0.0"
|
||||||
- "^14.1.0" # pre 14.1, zip extraction was broken (https://github.com/microsoft/playwright/issues/1988)
|
- "^14.1.0" # pre 14.1, zip extraction was broken (https://github.com/microsoft/playwright/issues/1988)
|
||||||
|
- "^16.0.0"
|
||||||
timeout-minutes: 20
|
timeout-minutes: 20
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
|
||||||
|
|
@ -2,9 +2,9 @@ FROM ubuntu:bionic
|
||||||
|
|
||||||
# === INSTALL Node.js ===
|
# === INSTALL Node.js ===
|
||||||
|
|
||||||
# Install node14
|
# Install node16
|
||||||
RUN apt-get update && apt-get install -y curl && \
|
RUN apt-get update && apt-get install -y curl && \
|
||||||
curl -sL https://deb.nodesource.com/setup_14.x | bash - && \
|
curl -sL https://deb.nodesource.com/setup_16.x | bash - && \
|
||||||
apt-get install -y nodejs
|
apt-get install -y nodejs
|
||||||
|
|
||||||
# Feature-parity with node.js base images.
|
# Feature-parity with node.js base images.
|
||||||
|
|
@ -40,4 +40,3 @@ RUN mkdir /ms-playwright && \
|
||||||
DEBIAN_FRONTEND=noninteractive npx playwright install-deps && \
|
DEBIAN_FRONTEND=noninteractive npx playwright install-deps && \
|
||||||
rm -rf /tmp/pw && rm /tmp/playwright.tar.gz && \
|
rm -rf /tmp/pw && rm /tmp/playwright.tar.gz && \
|
||||||
chmod -R 777 /ms-playwright
|
chmod -R 777 /ms-playwright
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,9 +2,9 @@ FROM ubuntu:focal
|
||||||
|
|
||||||
# === INSTALL Node.js ===
|
# === INSTALL Node.js ===
|
||||||
|
|
||||||
# Install node14
|
# Install node16
|
||||||
RUN apt-get update && apt-get install -y curl && \
|
RUN apt-get update && apt-get install -y curl && \
|
||||||
curl -sL https://deb.nodesource.com/setup_14.x | bash - && \
|
curl -sL https://deb.nodesource.com/setup_16.x | bash - && \
|
||||||
apt-get install -y nodejs
|
apt-get install -y nodejs
|
||||||
|
|
||||||
# Feature-parity with node.js base images.
|
# Feature-parity with node.js base images.
|
||||||
|
|
@ -39,4 +39,3 @@ RUN mkdir /ms-playwright && \
|
||||||
DEBIAN_FRONTEND=noninteractive npx playwright install-deps && \
|
DEBIAN_FRONTEND=noninteractive npx playwright install-deps && \
|
||||||
rm -rf /tmp/pw && rm /tmp/playwright.tar.gz && \
|
rm -rf /tmp/pw && rm /tmp/playwright.tar.gz && \
|
||||||
chmod -R 777 /ms-playwright
|
chmod -R 777 /ms-playwright
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue