Merge pull request #8415 from backstage/jhaals/tempfix-tests
CI: Install build deps to workaround internet issues
This commit is contained in:
@@ -39,6 +39,11 @@ jobs:
|
||||
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-yarn-
|
||||
# https://github.com/Automattic/node-canvas/issues/1945
|
||||
- name: Install dependencies to fix temporary issue in canvas build
|
||||
run: |
|
||||
sudo apt update
|
||||
sudo apt install -y libcairo2-dev libjpeg-dev libpango1.0-dev libgif-dev librsvg2-dev
|
||||
- name: yarn install
|
||||
run: yarn install --frozen-lockfile
|
||||
# End of yarn setup
|
||||
|
||||
@@ -56,6 +56,11 @@ jobs:
|
||||
INTEGRATION_TEST_AZURE_TOKEN: ${{ secrets.INTEGRATION_TEST_AZURE_TOKEN }}
|
||||
|
||||
steps:
|
||||
# https://github.com/Automattic/node-canvas/issues/1945
|
||||
- name: Install dependencies to fix temporary issue in canvas build
|
||||
run: |
|
||||
sudo apt update
|
||||
sudo apt install -y libcairo2-dev libjpeg-dev libpango1.0-dev libgif-dev librsvg2-dev
|
||||
- uses: actions/checkout@v2
|
||||
- name: fetch branch master
|
||||
run: git fetch origin master
|
||||
|
||||
@@ -35,6 +35,12 @@ jobs:
|
||||
|
||||
name: Node ${{ matrix.node-version }} on ${{ matrix.os }}
|
||||
steps:
|
||||
# https://github.com/Automattic/node-canvas/issues/1945
|
||||
- name: Install dependencies to fix temporary issue in canvas build
|
||||
run: |
|
||||
sudo apt update
|
||||
sudo apt install -y libcairo2-dev libjpeg-dev libpango1.0-dev libgif-dev librsvg2-dev
|
||||
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
# Beginning of yarn setup, keep in sync between all workflows, see ci.yml
|
||||
|
||||
@@ -86,6 +86,11 @@ jobs:
|
||||
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-yarn-
|
||||
# https://github.com/Automattic/node-canvas/issues/1945
|
||||
- name: Install dependencies to fix temporary issue in canvas build
|
||||
run: |
|
||||
sudo apt update
|
||||
sudo apt install -y libcairo2-dev libjpeg-dev libpango1.0-dev libgif-dev librsvg2-dev
|
||||
- name: yarn install
|
||||
run: yarn install --frozen-lockfile
|
||||
# End of yarn setup
|
||||
|
||||
@@ -45,6 +45,12 @@ jobs:
|
||||
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-yarn-
|
||||
# https://github.com/Automattic/node-canvas/issues/1945
|
||||
- name: Install dependencies to fix temporary issue in canvas build
|
||||
run: |
|
||||
sudo apt update
|
||||
sudo apt install -y libcairo2-dev libjpeg-dev libpango1.0-dev libgif-dev librsvg2-dev
|
||||
|
||||
- name: yarn install
|
||||
run: yarn install --frozen-lockfile
|
||||
# End of yarn setup
|
||||
|
||||
@@ -39,6 +39,12 @@ jobs:
|
||||
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-yarn-
|
||||
# https://github.com/Automattic/node-canvas/issues/1945
|
||||
- name: Install dependencies to fix temporary issue in canvas build
|
||||
run: |
|
||||
sudo apt update
|
||||
sudo apt install -y libcairo2-dev libjpeg-dev libpango1.0-dev libgif-dev librsvg2-dev
|
||||
|
||||
- name: yarn install
|
||||
run: yarn install --frozen-lockfile
|
||||
# End of yarn setup
|
||||
|
||||
@@ -41,6 +41,11 @@ jobs:
|
||||
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-yarn-
|
||||
# https://github.com/Automattic/node-canvas/issues/1945
|
||||
- name: Install dependencies to fix temporary issue in canvas build
|
||||
run: |
|
||||
sudo apt update
|
||||
sudo apt install -y libcairo2-dev libjpeg-dev libpango1.0-dev libgif-dev librsvg2-dev
|
||||
- name: yarn install
|
||||
run: yarn install --frozen-lockfile
|
||||
# End of yarn setup
|
||||
|
||||
@@ -21,6 +21,11 @@ jobs:
|
||||
NODE_OPTIONS: --max-old-space-size=4096
|
||||
|
||||
steps:
|
||||
# https://github.com/Automattic/node-canvas/issues/1945
|
||||
- name: Install dependencies to fix temporary issue in canvas build
|
||||
run: |
|
||||
sudo apt update
|
||||
sudo apt install -y libcairo2-dev libjpeg-dev libpango1.0-dev libgif-dev librsvg2-dev
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-python@v2
|
||||
|
||||
|
||||
Reference in New Issue
Block a user